|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Another question about wml
I'm not familiar with WML programming, but if i'm going to use a combination of jsp and wml would i have to make all the business logic code inside the jsps and create use javabeans to achieve this? It seems a bit too messy currently i'm using struts ActionServlet handles the page flow and calls other business logic classes which do queries to the db, you then have normal jsps which display everything. In a WML sense would this be correct:
* Use a combination of JSP and WML. Use JSP and instantitate a new object (which will handle db calls) and invoke a method directly. I can then populate javabeans with values returned and use this in my wml page? |
|
#2
|
||||
|
||||
|
I'm not in to jsp or javabeans but if you are you might like the WURFL and WALL which can help you deploy wml xhtml-mp and chtml to handsets on the fly.
http://wurfl.sourceforge.net/java/index.php regardless of what you're coding it in it's always a good idea to seperate logic from presentation. ie your jsp create values you then use inside wall or wml templates. yes that sounds right to me if i understood you right.
__________________
Andy Moore << oh no it's got a blog..... Word Press WAP Plugin with Ad Mob Advertising revenue PHP developer deploying ringtones, mp3 downloads and realtones I'm a geek who's obsessed with stats and gadgets |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Mobile Programming > Another question about wml |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|