aspose file tools*
The moose likes Servlets and the fly likes j2ee -- where to start Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "j2ee -- where to start" Watch "j2ee -- where to start" New topic
Author

j2ee -- where to start

Ben Weng
Greenhorn

Joined: Feb 22, 2005
Posts: 19
Hi there, this is a newbie in j2ee although have been working with java for years. Now as a starter I'd like some help please.
We have a site that runs asp pages (MS IIS server behind). Now my boss decides to follow the trend and convert it to a jsp site, starting from some of the forms.
I have never worked in this field before though. I have rough idea of what I should do but not clear enough. I don't even know how to write a servlet! And I had problem to download the j2ee api -- looks like right now it is bundled with the Application Server (Enterprise 8?) so how am I suppose to download the j2ee without the AS?
Also, is there a plug-in like to work in between tomcat and the IIS? so I can do things little by little and not risk bringing down the whole site?

I am sorry I have raised too many questions, but please understand that a wondering mind needs to know.


-Ben<br />SCJP/SCJD 1.4<br />Certified Sybase DBA
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

I would start with a good book.

There have been a hundred discussions in this and the JSP forum on which are good.

Core Servlets and Java Server Pages is available as a free download in PDF
http://pdf.coreservlets.com

I like it.

Personally, I wouldn't just dive into the upgrade. If you can, take some time to get familiar with J2EE, possibly on a smaller, inhouse project first.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

Well, it isn't an overnight task.

I think from converting the asp site to a jsp site is a little bit more than just a "word-for-word" conversion. You might look into Web Frameworks like Struts and JSF, and you might also want to use Hibernate for your database stuff.

But, for a book, I would start with Head First Servlets and JSP by Bryan Basham, Kathy Sierra, and Bert Bates.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Warren Dew
blacksmith
Ranch Hand

Joined: Mar 04, 2004
Posts: 1332
    
    2
Ben Weng:

We have a site that runs asp pages (MS IIS server behind). Now my boss decides to follow the trend and convert it to a jsp site, starting from some of the forms.

Good for him!

You don't actually have to write the servlets; JSP pages are automatically compiled into servlets for you by the web application server (e.g., Apache Tomcat).

For a gradual changeover, the easiest thing to do may be to share data through the database, if you have a database, or through whatever persistent data storage method you use.

I agree with Ben that doing some reading first is a good idea, if your boss will let you take the time for that.
Ben Weng
Greenhorn

Joined: Feb 22, 2005
Posts: 19
Thank you all for the suggestions.

Warren, what do you mean by saying:
You don't actually have to write the servlets; JSP pages are automatically compiled into servlets for you by the web application server (e.g., Apache Tomcat).
? Could you please explaine a little more?

thx
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Originally posted by Ben Weng:
Thank you all for the suggestions.

Warren, what do you mean by saying:
? Could you please explaine a little more?

thx


Once dive into it, you will know.
 
 
subject: j2ee -- where to start