Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

j2ee -- where to start

 
Ben Weng
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Warren Dew
blacksmith
Ranch Hand
Posts: 1332
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic