users@glassfish.java.net

Re: For dynamic web app without EJB, use GlassFish or Tomcat in dev

From: John_Africa_Brokers <john_at_africabrokers.com>
Date: Sun, 18 Nov 2007 13:23:15 +0200

---------------------------------------------------------------------------
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---------------------------------------------------------------------------

Your original question is ambiguous?
Are you asking whether its better to use Tomcat or GlassFish?
... I wont even go there, safe answer is it depends on what you doing and
who your customer is?

Or are you asking how to switch the servers...
... When you make the Netbeans project it asks you what server you want.
If you miss that or want to switch, then right click on the
project->properties->run, and you can swap the target server.

Naturally if you start using container add on features in either
environment, changing will create issues.
Advances annotations, different JNDI features, different XML configs etc.
Never heard of Grizzly until today but I imagine that would also lock you
into glassfish.
If its something that has to run in both environments, thus the toggling...
then I think the answer is keep it simple, dont move too far from the basic
servlet spec.

Have fun


----- Original Message -----
From: <glassfish_at_javadesktop.org>
To: <users_at_glassfish.dev.java.net>
Sent: Sunday, November 18, 2007 4:56 AM
Subject: Re: For dynamic web app without EJB, use GlassFish or Tomcat in dev


> One part of me says -- it does not matter. As far as web-app is concerned,
> Tomcat is a
> state-of-the-art web container, like GlassFish.
>
> Other part of me says -- of course, you should use GlassFish! On the pro
> side, you have
> - With GlassFish you get Grizzly.
> - A community that is willing to help you (You probably have that with
> Tomcat too).
> - NetBeans + GlassFish makes a good fit.
> - If and when you'd want to move to EJB, JMS, Adatpers etc. it will not be
> a new learning curve
> for you, at least as far as familiarity with GlassFish is concerned.
>
> Regards,
> Kedar
> [Message sent by forum member 'km' (km)]
>
> http://forums.java.net/jive/thread.jspa?messageID=245940
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>