Sunday, December 27, 2009

Can a j2ee programmer do programming for j2me. how different are two?

All,





I am new to java.. I want to know if someone is expert in java, j2ee,struts etc.. can he do the programming in j2me for mobile applications( like creating a simple questions %26amp; answers gaming programCan a j2ee programmer do programming for j2me. how different are two?
Quite simply yes a J2EE programmer could switch to J2ME. Both J2EE and J2ME are only specifications, libraries and extension to Java. The language itself doesn't change.v





The main thing is understanding the concepts. Both are very different, but as long as you understand Java you can pick them up. The main thing is learning the best practices for each area (there is some very poor J2EE and J2ME code out there, so GOOD developers that understand best practices are what is needed)





Struts is not J2EE it's an MVC framework that uses JSPs/Servlets. I would recommend moving away from Struts and looking at Spring MVC, and even Spring remoting instead of EJBs... J2EE (or now Java EE since 2007) is dying slowly and being replaced by better technologies... Even big Java EE application manufacturers like BEA (WebLogic) and IBM (WebSphere) now support applications deployed in Spring rather than just Java EE.





For a simple gaming application Java EE would be way over the top. You could use a simple servlet container like Tomcat and just build a simple JSP application to do that.





Good luck with your studies.





Feel free to email me with questions!

No comments:

Post a Comment