I’ve been coding in J2SE and now I’m currently working on a project that requires me to have a Java Desktop app to interact with a Java EE server for several activities such as database connections. I’m still new to Java EE. May someone guide me on where to start? What particular resource/ebook should I take a look on to?
Share
Start with this:
http://download.oracle.com/javaee/6/tutorial/doc/
You don’t say which Java EE app server you intend to use (Glassfish, JBOSS, WebLogic, etc.) I’d also recommend looking at the tutorials for your particular vendor.
As far as your client/server interaction goes, the moment you say “desktop” I think “Swing”. If that’s the case, you can easily have it use back end services using either EJBs or web services. The latter will be more reusable, because they use HTTP as their wire protocol; EJBs use RMI, so they’re usually called by Java clients.