concept J2ee

I磎 new of J2ee and I磎 trying to design/develop a standard 3-tier system. Well I have to choose all the software tools (trying to spend as less as possible), I read a lot of documents about different products, and now I have mess in my mind :-)

Everything seems to be J2ee compatible!! Can someone give me some advice or links to articles? I would like to know the software products used by someone who already implemented a medium system, and the criteria used to choose them. SOmetimes I have the impression that the words like containers, application servers etc. are not clearly used

Thanks Marco

[625 byte] By [mfreschi] at [2007-9-27 14:30:15]
# 1

By 3-tier I'm guessing you mean:

Presentation - JSP's Servlets, applets, Java Beans (not EJB!)

Business Logic - Session Beans (EJB), Message Driven Beans (EJB)

Persistence - Entity Beans (EJB)

Now there are two servers / containers / engines you need to be aware of, Servlet Engines and EJB engines. For these I would start by looking at the following:

Tomcat Servlet Engine (from jakarta.apache.org) : Runs Servlets, processes JSPS, manages Java Beans (think data objects).

JBoss EJB Engine (latest version includes Tomcat) : Runs EJBs.

As for tools, well yes there are loads. I use the free JCreator as my editor, Ant (jakarta) as my build tool, JTest is supposed to be good for testing but haven't used it (www.junit.org), Struts is a good Servlet/JSP/JavaBean framework (jakarta), and finally Log4J (jakarta) takes the headache out of system logging.

These are all open source / freeware / shareware products so check out their licences and realise they might not scale or be supported as well as the "for-sale" products.

Good luck

Paul.

prhoades at 2007-7-5 22:29:33 > top of Java-index,Other Topics,Patterns & OO Design...
# 2

Hi,

You can check out the Java BluePrints program for J2EE and also the J2EE tutorial.

The BluePrints are located at http://java.sun.com/blueprints and in particular the book is available online at

http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/index.html

This explains how to design and build an enterprise application on J2EE.

Also, the J2EE tutorial is a good resource for learning J2EE. It is a great place to start. It is available online at

http://java.sun.com/j2ee/tutorial/1_3-fcs/index.html

and you can also download it in pdf format at

http://java.sun.com/j2ee/download.html#tutorial

hope that helps,

Sean

seanbrydon at 2007-7-5 22:29:33 > top of Java-index,Other Topics,Patterns & OO Design...