Best server for JSP and J2ME
Hello,
What is the best server to use when programming with JSP and J2ME? I have heard of Weblogic as well as a combination of Apache with Tomcat. What would be the best approach? TIA |
I believe weblogic is a commercial product (I have never used it but heard of it) and so you need to pay. Apache+Tomcat is free. That's what I would use. However, if you are working for a company and they are willing to pay, then go with Weblogic.
-twantrd |
Apache/Tomcat will not help you for developing J2ME applications, I would suggest downloading the free J2ME Toolkit at http://java.sun.com/products/j2mewtoolkit/index.html or the commercial Java Studio Mobility at http://wwws.sun.com/software/product...ty/index.html.
|
Ahh my mistake. I thought you meant serving jsp pages. Sorry
-twantrd |
Hello there - sorry - that was what I meant Java Server Pages (JSP) :p and J2ME. (I think JSP is for Java Server Pages) I would use JAVA but it would seem that JAVA requires a lot of space on the client side where it seems that the development of a JSP would produce something HTML like and not take up a lot of space on the client side. The only thing is that it would take up processing time too - am I right?
Also, will Tomcat/apache serve J2ME pages? TIA |
Okay, JSP and J2ME are different unrelated beasts.
JSP is one Java technology easing the development of server side web applications, that isn't demanding any Java support on the client side. J2ME is another Java technology allowing to develop lightweight applications on the client side, targetting PDAs, telephones and that kind of small and mobile devices, that may or may not be HTTP clients. There is no such thing as a J2ME page, J2ME is just a lightweight Java virtual machine. |
OK - thank you for the explanation :)
If one were to make something that is to work on a web page and also work with J2ME, then would they have to make programs using java? Is not Java large and slow so JSP would be preferred (to build the page "on the fly")? I also found this on the net: http://groups.google.com/groups?hl=e...oteo%404ax.com |
Quote:
Quote:
Quote:
Moreover, JSP is something like a preprocessor that build java source code on the fly then compile the page to a servlet, so JSP is Java too. Development is faster and execution speed is as good as the one obtained with servlets. |
Thank you for the information :)
When I mentioned "page", I was referring to a type of .java page: when creating java pages, they are static whereas the .java page (using JSP) is built "on the fly". I was thinking that for a static page, it has to be downloaded in the person's browser. The browser would have to have enough room for whatever is being downloaded. For the .jsp page, it is built on the fly - all the processing and resource hits would be on the server side and not on the client side as it would be for java. |
Quote:
Quote:
Applet size is seldom an issue nowadays, with the bandwidth available by xDSL users. There is also a third technology, Java Web Start, that allows Java applications to be automatically downloaded and cached on the client side. This is overcoming many of the applet's limitations. Quote:
Quote:
|
All times are GMT -5. The time now is 11:59 PM. |