Date: 2004-07-21T06:07:12 Editor: DerekLastname <[EMAIL PROTECTED]> Wiki: Cocoon Wiki Page: Midlets URL: http://wiki.apache.org/cocoon/Midlets
formatted lists Change Log: ------------------------------------------------------------------------------ @@ -4,16 +4,16 @@ On the server side: -1. In a pipeline: Action to lookup the data (EJB - J2EE to JBoss) and pass the object of interest to the request with request.setAttribute(<name>, <object>) -2. Generate xsp, using a logicsheet which creates XML from the object -3. Serialize (so skip Transform!) to XML. + 1. In a pipeline: Action to lookup the data (EJB - J2EE to JBoss) and pass the object of interest to the request with request.setAttribute(<name>, <object>) + 1. Generate xsp, using a logicsheet which creates XML from the object + 1. Serialize (so skip Transform!) to XML. On the mobile phone: -1. Open a HttpConnection for the URL for which the pipeline-match is valid (will execute the pipeline, mentioned above) -2. Create a DataInputStream, using the HttpConnection object from Step 1 -3. Read the XML, produced by the server , using a read-method of the DataInputStream object in a byte-array -4. Create a parser object, using the byte-array. + 1. Open a HttpConnection for the URL for which the pipeline-match is valid (will execute the pipeline, mentioned above) + 1. Create a DataInputStream, using the HttpConnection object from Step 1 + 1. Read the XML, produced by the server , using a read-method of the DataInputStream object in a byte-array + 1. Create a parser object, using the byte-array. Putting it all together, in the Midlet, you should create a method like this: @@ -122,5 +122,4 @@ * For more info on how to develop under J2ME, take a look at [http://java.sun.com/j2me/download.html] and the site [http://developer.sonyericsson.com/site/global/newsandevents/latestnews/newsnov03/p_news114.jsp] - * For P800 and other mobile phones you can use use the J2ME SDK version 1.1 of -Sony/Ericsson in Borland JBuilder 9 + * For P800 and other mobile phones you can use use the J2ME SDK version 1.1 of Sony/Ericsson in Borland JBuilder 9
