Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 998 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1006 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_page.php on line 473 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_page.php on line 475 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_page.php on line 478 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 998 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1006 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 998 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1006 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 998 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1006 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 998 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1006 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 998 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1006 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1834 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1836 Deprecated: Function split() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1849 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1809 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1834 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1836 Deprecated: Function split() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1849 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1809 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1834 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1836 Deprecated: Function split() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1849 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1809 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1834 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1836 Deprecated: Function split() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1849 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1809 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1834 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1836 Deprecated: Function split() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1849 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1809 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1834 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1836 Deprecated: Function split() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1849 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1809 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1834 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1836 Deprecated: Function split() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1849 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1809 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1834 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1836 Deprecated: Function split() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1849 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1809 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1834 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1836 Deprecated: Function split() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1849 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1809 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1834 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1836 Deprecated: Function split() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1849 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1809 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1834 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1836 Deprecated: Function split() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1849 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1809 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1834 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1836 Deprecated: Function split() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1849 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1809 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1834 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1836 Deprecated: Function split() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1849 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1809 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1834 Deprecated: Function eregi_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1836 Deprecated: Function split() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1849 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1809 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 998 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1006 Deprecated: mysql(): This function is deprecated; use mysql_query() instead in /var/vhosts/jtom/httpdocs/fileadmin/jtom/languageMenu.php on line 40 Deprecated: Function ereg_replace() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 3680 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 998 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1006 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 998 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1006 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 4705 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 4705 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 998 Deprecated: Function ereg() is deprecated in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php on line 1006 Warning: Cannot modify header information - headers already sent by (output started at /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/t3lib/class.t3lib_div.php:1834) in /var/vhosts/jtom/httpdocs/typo3_src-4.1.13/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2963 www.jtom.de: Unterstützung durch jtom

Home  
   
   
 Benutzer
 
 Passwort
   Registrieren

 
 
 
 
 
 
 
 
 
 
  
  
  
  
 
 

Unterstützung durch jtom

Durch jtom werden Ihnen eine Vielzahl der benötigten aber fehlenden Klassen geliefert. Als erstes stellt Ihnen jtom die Client-Funktionalität eines J2EE-Clients für Ihre Entwicklung auf Handys, Smartphones und PDAs zur Verfügung. Dadurch haben Sie die Möglichkeit, alle Funktionen des Applikation Servers zu nutzen.

 

Sie können vom mobilen Endgerät auf entfernte Systeme über JNDI (Java Naming and Directory Interface) zugreifen. Die Anwendungsentwicklung mit dem jtom-Framework unterscheidet sich nicht sonderlich von der eines typischen J2EE-Clients. Die Aufrufe und die Handhabung von referenzierten Objekten geschieht wie es der J2EE-Entwickler gewohnt ist.

 

Entwickeln mit jtom

Um eine Kommunikation zwischen einem mobilen Endgerät und einem Applikation Server zu ermöglichen, gibt es einerseits eine minimierte Klassenbibliothek, die für die Entwicklung auf Mobilgeräten verwendet wird. Andererseits gibt es ein PlugIn für den jeweiligen Applikation Server. Dieses wird benötigt, da der normale Client eines Applikation Servers oftmals eine Klassenbibliothek in der Größenordnung von mehreren MB verwendet.

 

Die jtom-Client-Klassenbibliothek beinhaltet Klassen, wie sie bereits aus der J2EE bekannt sind (InitialContext, PortableRemoteObject, EJBObject, EJBHome, etc.). Diese werden vom Entwickler wie gewohnt verwendet. Außerdem sind noch weitere interne Klassen vorhanden, die es dem mobilen Endgerät ermöglichen, den Applikation Server anzusprechen.

 

Hier ein kleines Beispiel, welches den Aufruf einer Kalkulationsroutine auf dem Applikation Server durchführt. Die Unterschiede zu der Entwicklung mit der reinen J2EE sind minimal.

 

InitialContext ctx = new InitialContext();

Object obj = ctx.lookup("calcs");

CalcHome homeCalc = (CalcHome) PortableRemoteObject.narrow(obj,"ifak.CalcHome");

calc = homeCalc.create();

calc.calcBonus(new Integer(10),new Integer(333));

 

Für den J2EE-Anwendungsentwickler gibt es nur eine Stelle, die so nicht in der Enterprise Edtion verwendet wird. Die static-Methode narrow() bekommt bei der J2EE als zweiten Parameter nicht den Klassennamen sondern die Klasse übergeben. Der Aufruf würde dort wie folgt aussehen:

 

CalcHome homeCalc = (CalcHome) PortableRemoteObject.narrow(obj,ifak.CalcHome.class);

 

Da in der Micro Edition die Syntax ifak.CalcHome.class leider nicht unterstützt wird, muß an dieser Stelle der Klassenname, in den das übergebene Objekt umgewandelt werden soll, mit übergeben werden.

 

Um entfernte Objekte (SessionBeans, EntityBeans, Corba-Objekte, etc.) auf dem Applikation Server anzusprechen, sind natürlich weitere Schritte notwendig, die bereits aus der Entwicklung mit Applikation Servern bekannt sind. Es müssen für das mobile Endgerät Stubs erzeugt werden. Diese werden durch den jtom-mClassGenerator automatisch erzeugt . Dazu sind nur die zu referenzierenden Klassen (z.B. SessionBean) anzugeben, woraus die benötigten Klassen für das Handy, das Smartphone oder den PDA erzeugt werden.