Looking for advice on GlassFish and JEE

K

Kenneth P. Turvey

I'm setting up a VPS system right now and I'd like to prepare it for the
day when I'm ready to take on JEE. Right now I use servlets and JSP
pages. I'm also using the persistence framework in JSE, but I don't use
any of the other features of JEE.

What I would normally do is just install resin to handle my static and
dynamic requests, but I'm thinking of installing GlassFish instead. So I
have a few questions about what GlassFish will provide me. I have no
experience with this product at all, so please forgive me if I'm asking
some obvious questions.

1) I assume GlassFish will handle my servlets and jsp pages without a
problem since these are defined in the JEE standard. Am I mistaken here?
Do you need to have a separate servlet container and JEE container?

2) Will Glassfish also handle serving static content?

3) Is it possible to configure GlassFish to handle virtual domains and
more than one IP address?

4) Will GlassFish handle my needs for a platform to learn JEE on? I
assume this is true.

5) Is there a good tutorial on how to setup GlassFish with the above
requirements in mind?


Please understand that I know that GlassFish isn't meant to be a high
volume web server like apache, I don't have a site that requires that kind
of performance. I'm looking for something that is easy to setup and will
provide me with a platform for playing around with the new JEE concepts.


Thank you very much.
 
K

Kenneth P. Turvey

I'm setting up a VPS system right now and I'd like to prepare it for the
day when I'm ready to take on JEE. Right now I use servlets and JSP
pages. I'm also using the persistence framework in JSE, but I don't use
any of the other features of JEE.

What I would normally do is just install resin to handle my static and
dynamic requests, but I'm thinking of installing GlassFish instead. So I
have a few questions about what GlassFish will provide me. I have no
experience with this product at all, so please forgive me if I'm asking
some obvious questions.

1) I assume GlassFish will handle my servlets and jsp pages without a
problem since these are defined in the JEE standard. Am I mistaken here?
Do you need to have a separate servlet container and JEE container?

2) Will Glassfish also handle serving static content?

3) Is it possible to configure GlassFish to handle virtual domains and
more than one IP address?

4) Will GlassFish handle my needs for a platform to learn JEE on? I
assume this is true.

5) Is there a good tutorial on how to setup GlassFish with the above
requirements in mind?


Please understand that I know that GlassFish isn't meant to be a high
volume web server like apache, I don't have a site that requires that kind
of performance. I'm looking for something that is easy to setup and will
provide me with a platform for playing around with the new JEE concepts.


I have one more question to ask here.. Is Apache Geranimo more suited to
this application? Is it a better JEE container?

Thanks again.
 
A

Arne Vajhøj

Kenneth said:
I'm setting up a VPS system right now and I'd like to prepare it for the
day when I'm ready to take on JEE. Right now I use servlets and JSP
pages. I'm also using the persistence framework in JSE, but I don't use
any of the other features of JEE.

What I would normally do is just install resin to handle my static and
dynamic requests, but I'm thinking of installing GlassFish instead. So I
have a few questions about what GlassFish will provide me. I have no
experience with this product at all, so please forgive me if I'm asking
some obvious questions.

1) I assume GlassFish will handle my servlets and jsp pages without a
problem since these are defined in the JEE standard. Am I mistaken here?
Do you need to have a separate servlet container and JEE container?

You are correct. It has both web and EJB container.
2) Will Glassfish also handle serving static content?

I believe all web containers handle static content. But they may not
be optimized for it.
3) Is it possible to configure GlassFish to handle virtual domains and
more than one IP address?

I don't know Glassfish, but I am sure it does.
4) Will GlassFish handle my needs for a platform to learn JEE on? I
assume this is true.

Yes.

But I think you should consider JBoss.

Arne
 
L

Lew

Kenneth said:
I have one more question to ask here.. Is Apache Geranimo more suited to
this application? Is it a better JEE container?

What do you mean by "better"?

I suggest you thoroughly review the documentation on both products:

Glassfish <https://glassfish.dev.java.net/>
(follow links to Wiki and Documentation)

Geronimo <http://geronimo.apache.org/>

I've looked briefly at both and they both seem quite good, but Glassfish
strikes me at first blush as more comprehensive. That could make Geronimo
easier to learn, though.
 
L

Lew

Why do you think that? Glassfish is designed for high volume, actually, so
the truth is the opposite of what you "know". In fact, Sun recently has been
crowing about setting a new enterprise benchmark record (on some Spec
benchmark) with their servers running Glassfish against a PostgreSQL back end.

What evidence do you have that "GlassFish isn't meant to be a high volume web
server"?
 
K

Kenneth P. Turvey

Why do you think that? Glassfish is designed for high volume, actually, so
the truth is the opposite of what you "know". In fact, Sun recently has been
crowing about setting a new enterprise benchmark record (on some Spec
benchmark) with their servers running Glassfish against a PostgreSQL back end.

What evidence do you have that "GlassFish isn't meant to be a high volume web
server"?

My mistake.. no intention to offend.
 
L

Lew

Kenneth said:
Thanks for all the info. This is a big help. Looking at the web sites
I'm leaning toward Geranimo because it looks easier to setup and seems to
have the features I care about.

You mean "Geronimo".
 
A

Arne Vajhøj

Lew said:
Why do you think that? Glassfish is designed for high volume, actually,
so the truth is the opposite of what you "know". In fact, Sun recently
has been crowing about setting a new enterprise benchmark record (on
some Spec benchmark) with their servers running Glassfish against a
PostgreSQL back end.

What evidence do you have that "GlassFish isn't meant to be a high
volume web server"?

I don't know what Kenneth meant.

But there is a difference between web server and servlet container.

It is usually assumed that a pure web server is faster for serving
static content than a servlet container.

Any servlet container - not Glassfish specifically.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,740
Latest member
AdolphBig6

Latest Threads

Top