Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Beginner questions...

Beginner questions...

2004-05-26       - By Steven J. Owens

 Back
Reply:     1     2     3     4     5     6     7  

Hi,

On Mon, May 17, 2004 at 12:13:07PM -0700, Laughlin, Joseph V wrote:
> Not sure if this is the right place to post this question.. If it's not,
> please let me know where a better place might be.
>
> My background: Strong object-oriented knowledge, mostly with C++ and
> python.  Previous web applications have been using php and mysql.  Never
> used Java before.
>
> I'm beginning a fairly large web project sometime soon.  I'd like to get
> away from php/mysql, so I'm looking at using J2EE.  Being that I've
> never used any Java-related technology before, I don't really know
> what's good and what's not.  I've read some good things about JavaServer
> Faces, it looks like it might fit my needs.

    Definitely check out JSF, it looks very promising.  However, bear
in mind that it's relatively recent, so any weak spots in the
implementation (or worse, the design) have yet to be found.

    JSF has a lot of push from Sun behind it, so if your project
isn't supercritical, you'd do well to get ahead of the curve and jump
into JSF.  So far the best quick intro I've read of JSF is at:

    http://www.horstmann.com/corejsf/

    I'm a bit of a servlet purist.  I highly recommend reading the
servlet specification, a little less so the JSP specification.  Bear
in mind that JSP is essentially a way to conveniently write
output-oriented servlets.

    Struts has a heck of a lot of industry adoption, and it does in
fact address a lot of weak points in the servlet spec.  The main
problem I have with struts is the same problem I have with JSF, which
is that it imposes its own model overlaying the java web application
model.  Which way you prefer to go is up to you.

> So my question is, where should I begin?  What's a good IDE (I've never
> used any IDEs before, always vim) for a linux platform?  I'd like to use
> Junit as well, so it would be nice if it would also integrated into the
> IDE.

    I like emacs with JDE, but that's me.

    If you can afford it, Intellij IDEA is fantastic.  I hear they
have a christmas sale regularly, half off ($250 instead of $500).

    Eclipse is very, very popular and generally considered to be one
of the best.

    NetBeans is at least decent, hard to measure it against the
others.

    I don't know much about the Oracle IDE, I'd say the main reason
to go with that is if you're already committed to using Oracle DB and
tools.

    As for the servlet engine, etc, Tomcat is the reference
implementation and it's what I know the most about, but I hear that
Jetty has a better JSP compiler, and Resin is supposed to be really
slick.  Then again, if you want to do this project as a way to build
your resume, Bea Weblogic or IBM Websphere may have demo licenses you
can use.

    In general, the main drawback to doing a webapp in java is that
you end up doing a heck of a lot more "busy work".  This is true at
the high level (lots of munging XML config files) and the low level
(java as a language is a lot more detail focused (neurotic, perhaps)
than perl or php).  On the other hand, I think java tends to deal with
more complex projects better, and you get the benefit of the massive
amounts of java APIs.

    I'm interested in your comments, coming from PHP to java.  I've
been thinking of picking up PHP for trivial web projects (mainly
because I have some colleagues who occasionally need help with PHP
projects). The main problem I've seen, so far, is that PHP doesn't
seem to have any sort of comprehensive framework, like the servlet
API.  Then again, I have yet to put any real effort into this topic,
so maybe there's a PHP framework I don't know about.

    I've been working on a java web tutorial, it's still in rough
draft form, but if you read it and bug me with questions and requests
for expansion/clarification, I may get it done sooner.   It's at:

    http://www.darksleep.com/notablog

    Look for "Java Web Applications", it's in four parts.  My aim
with this tutorial is more to walk you through the topic, relying on
the reader to be competent and follow through by reading up on
specific topics.  As I said, it's rough, but I think you might find it
useful.

--
Steven J. Owens
puff@(protected)

"I'm going to make broad, sweeping generalizations and strong,
declarative statements, because otherwise I'll be here all night and
this document will be four times longer and much less fun to read.
Take it all with a grain of salt." - Me at http://darksleep.com

===========================================================================
To unsubscribe, send email to listserv@(protected) and include in the body
of the message "signoff J2EE-INTEREST".  For general help, send email to
listserv@(protected) and include in the body of the message "help".

©2008 junlu.com - Jax Systems, LLC, U.S.A.