It's not a secret anymore!
The moose likes Beginning Java and the fly likes Starting new WebDevlopment JSP or J2EE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Starting new WebDevlopment JSP or J2EE" Watch "Starting new WebDevlopment JSP or J2EE" New topic

Starting new WebDevlopment JSP or J2EE

Mike Oakes

Joined: Apr 14, 2005
Posts: 5
I'm starting a new web development project and not sure if I should use JSP or J2EE. Is there a difference? I want to use all open/free software. I was thinking about using Sun's J2EE Server and writing J2EE code. Can i use the J2EE server and write JSP code. Which method would be better? I have a couple years of Java experience but no JSP or J2EE experience.

Thanks for your help
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Duplicate of:

Mike, please try to avoid asking the same questions in multiple forums.
This is called cross-posting and discourages people from helping you.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Hi, Mike, welcome to the ranch!

J2EE is a name for a broad family of technologies. The two we usually talk about most are the Servlet (and JSP) container and the EJB container.

Servlet technology is a great choice for the presentation side of web apps. You can get any number of free Servlet containers that are production worthy. You can build from scratch or use frameworks like Struts.

EJB is one of many choices for building the business side of your application. It's pretty far over on the "non-trivial" scale to understand and get going, and may be overkill for many smaller systems.

Search out some J2EE introductory information at Sun and see if the way the various technologies work together makes sense.

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

Mike, please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please continue any discussion of this topic in the JSP forum.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Starting new WebDevlopment JSP or J2EE
jQuery in Action, 3rd edition