tags:

views:

128

answers:

4
+1  Q: 

J2EE Download Link

Hi, I know this is a stupid question and I really have been looking around for a few hours... but how can I get J2EE? I would like the j2ee and j2eeadmin tools. What do I download

I have downloaded and installed the jdk-6u16-windows-i586 (Java SE Development Kit 6u16 for Windows)

Can someone point me in the right direction? Thanks.

A: 

http://developers.sun.com/downloads/

Select the Java EE link. Select Java EE 5 (first option). One reason I didn't post the link directly is that you'll be sent to a different link depending on the operating system you are using.

JasCav
How come I have to download GlassFish too? I just want the JavaEE
@Yuil S - You need a J2EE server to run the applications developed in J2EE. Will's post below gives a bit more detail as to why you want it. (As he points out, if you're only interested in JMS, you don't need a full J2EE server, but there's really no reason not to install it.)
JasCav
A: 

see Java EE at: http://developers.sun.com/downloads/

Ray Tayek
+2  A: 

JavaEE sometimes hard to define

Oh, your question isn't so stupid. It turns out that downloading JavaEE is a slightly tricky thing.

If you go over to Sun, you will find this located at http://java.sun.com/javaee/downloads/. But that's actually a GlassFish d/l. It's fine, but if you go somewhere else you might end up with JBoss which will have its own container implementations and its own package of modules to load. JavaEE is a big umbrella of technologies, many of them quite clunky and obsolete, and in any case you develop and deploy a very specific collection of things, rather than a program which just loads classes from some bigger version of JavaSE.

Or, you might want to start with something even smaller, like Tomcat.

You might want to think more in terms of "how should I set up to develop for the xyz application server".

DigitalRoss
I just want to play around with JMS on my local computer... any suggestions?
One idea is: start here: http://stackoverflow.com/questions/tagged/jms
DigitalRoss
There are definitely multiple JMS implementations including JBossMQ and ActiveMQ. Start with the stackoverflow tag. BTW, I retagged your question. You might want to simply ask "How do I set up to experiment with JMS".
DigitalRoss
+1  A: 

If you want to just play with JMS on your local computer, you could start with Glassfish from Sun. It will pretty much "just work" out of the box.

Yes, you get the full boat JEE app server and stack as well, of which JMS is but a component, but at the same time it's trivial to install and get working. Especially if you add in NetBeans as the IDE, since it's well integrated with Glassfish.

That said, you certainly don't need an entire JEE app server just to use JMS. There are many JMS compatible Messaging servers available. ActiveMQ is a single example.

I only suggest Glassfish because it has a great out of box experience in terms of download, install, start up and it's running.

If you want to work on configuring another option, there are several.

Also, I suggest Glassfish (or any full JEE server) simply because even if you're just interested in JMS, you'll likely find that the JEE Message Driven Bean (MDB) model actually works pretty well as a mechanism to leverage JMS. And it, too, is pretty simple to set up for the basic use cases. Once you have an MDB, you might want to talk to a database, and the JEE server has connection pooling, etc. built in already as well. You also get transaction management with JEE (which can actually be important with JMS).

Basically, while JMS alone is interesting, the other services are also compelling, even if you "don't need them yet". If you want to dabble with them, they're readily available in a full JEE server, which promotes experimentation, and perhaps adoption.

So, starting with a Glassfish download can actually be an interesting door for learning and discovery things above and beyond JMS.

Will Hartung