aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Installing complete java programming environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Installing complete java programming environment" Watch "Installing complete java programming environment" New topic
Author

Installing complete java programming environment

Juhan Voolaid
Ranch Hand

Joined: Nov 18, 2003
Posts: 179
Hi

I have learned J2SE for a some time now, but now i want to explore new stuff of java thecnologies: J2EE, EJB, JSP, JSF, Struts, Ants, webservices ...
So for that i need to install lot of stuff, that i am not really familliar with.

So pleas explain me what is needed for what technologies, why and what is it, because i get a little confused in the middle of souap, tomcat, j2se sdk, j2ee sdk, eclipse and so on?

I wan't to make it clear so that i can install all the right things and have a complete java programming environment in my linux system.

Sorry for beeing such a nube - i've searched the forum and google, but have not found good explanation for my question.
domi o'brian
Greenhorn

Joined: Jul 29, 2005
Posts: 4
There is no point in installing all stuff. First make sure what you want.
Juhan Voolaid
Ranch Hand

Joined: Nov 18, 2003
Posts: 179
Well yeah ... i guess. I try to be more detayl then.
I thik i'm going to learn JSP and EJB at first. Don't know how they are binded yet, but have the head first series books about them so - sooner or later i need both of them.
So JSP needs Tomcat server and J2SE SDK and EJB needs J2EE SDK i and something more i think.

What is not clear is:
1. Is J2SE sdk included in J2EE sdk ... guess not but not really sure?
2. To use J2EE sdk, i need to install J2SE sdk too? If so, will the new 1.5 version work with latest J2EE sdk?
3. J2EE is nothing more than a server? What services does it offer and what else it is good for?
4. Tomcat is a webserver that allso runs JSP right?
5. Servlets - if web server has J2SE installed, is it all you need?
6. Eclipse - is it good thing? What it's good for and why? At first i will use Vim only as the book reccomends for newbs, but in future, is Eclipse IDE good for all this EJB and JSP stuff? Fedora Core 4 has it.

Uhh ... i think thats about all the offtopic questions that came to my mind right now.
[ July 30, 2005: Message edited by: Juhan Voolaid ]
Ken Rubin
Ranch Hand

Joined: Mar 08, 2004
Posts: 66
Hi, I can answer some of this. I am new at J2EE also.

What is not clear is:
1. Is J2SE sdk included in J2EE sdk ... guess not but not really sure?

You are correct. No.
2. To use J2EE sdk, i need to install J2SE sdk too? If so, will the new 1.5 version work with latest J2EE sdk?

You need J2SE also. Not sure about compatibility with J2SE 1.5
3. J2EE is nothing more than a server? What services does it offer and what else it is good for?

I know that JBOSS has within it a container to manage EJBs and also has
the Tomcat Web Server.
Sun App Server has a EJB container, but may not include Tomcat.


4. Tomcat is a webserver that allso runs JSP right?
Yes.

5. Servlets - if web server has J2SE installed, is it all you need? Not sure.

6. Eclipse - is it good thing? What it's good for and why? At first i will use Vim only as the book reccomends for newbs, but in future, is Eclipse IDE good for all this EJB and JSP stuff? Fedora Core 4 has it.



Eclipse is a full Integrated Dev Environ. that helps productivity by enabling you to create deployment files with
Xdoclet, which is included in Eclipse. Also it sets up basic
function structures for EJBs and Servlets. You must read http://www.jboss.com/products/jbosside/docs [installation guide] to integrate IDE and JBOSS.

I recommend trying the JBOSS IDE tutorial. It creates a sessionless EJB
and a Servlet to give you the look and feel of Eclipse. There are two
bugs in the code. One in the Serverlet in .html file another in the JNDI lookup from Servlet. There are threads
on the JBOSS message board that will help you fix these.

JBOSS is a free Server (www.jboss.org)
like the Sun App Server. It is heavily used by academics and many businesses.

It's not wrong though to create some projects early on without an IDE, because you will learn more manually manipulating the deployent .xml files
than having them generated for you.

I'm not sure what Vim is.

Good luck, Ken



Uhh ... i think thats about all the offtopic questions that came to my mind right now.

[ July 30, 2005: Message edited by: Juhan Voolaid ]
Juhan Voolaid
Ranch Hand

Joined: Nov 18, 2003
Posts: 179
One other question. If I have installed J2EE (aplication server i guess), then i don't need to install tomcat and apache webserver right, if I want to create jsp and servlets?
[ August 13, 2005: Message edited by: Juhan Voolaid ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Installing complete java programming environment