Subject | Re: Starting Java |
---|---|
Author | rfincher2000 |
Post date | 2005-02-22T04:38:37Z |
Hi James,
All the options you listed are for developing web applications, so I
presume that's what you want to do. JayBird can be used with any of them.
A rough description of each from easiest to hardest:
JSP is essentially HTML (or XML, etc) with Java code embeded in it to
make it dynamic. It is the easiest to start with. JSP gets compiled
into servlets and runs on a servlet engine like Tomcat, Resin, etc.
etc. That is transparent to the JSP developer, so you don't have to
know servlets to use JSP.
Servlets are Java programs that run on a servlet engine that generate
HTML pages. They look like Java code with a lot of print statements
that are HTML strings.
JSP and servlets are small parts of the J2EE standard. J2EE is a
framework for enterprise wide data sharing and interoperation over the
web. Just setting up and running the J2EE server can get complicated
sometimes, so you probably don't to start with that.
A good book for learning about JSP and JDBC, with a little about
servlets is "Special Edition- Using Java Server Pages and Servlets" by
Mark Wutka, published by Que.
It would be a good idea to get NetBeans or Eclipse to develop in.
Eclipse has some plug-ins for JSP development. Netbeans has it's own
copy of Tomcat built-in so you can develop and test JSP within its
environment.
A good HTML editor that doesn't choke on JSP's is handy, BlueFish is
a freebie that's pretty good.
You can do it all with a text editor and copies of Tomcat, JayBird,
and Firebird if you like.
The Jaybird FAQ has an example web app that runs on Tomcat and creates
a database, tables, and columns then fills it with data and displays
it on another JSP page. It is under "How do I use Jaybird, with Tomcat."
It is for Tomcat 4 but I updated the example for Tomcat 5.5.x
recently. I can send you a copy if you like.
Rick
All the options you listed are for developing web applications, so I
presume that's what you want to do. JayBird can be used with any of them.
A rough description of each from easiest to hardest:
JSP is essentially HTML (or XML, etc) with Java code embeded in it to
make it dynamic. It is the easiest to start with. JSP gets compiled
into servlets and runs on a servlet engine like Tomcat, Resin, etc.
etc. That is transparent to the JSP developer, so you don't have to
know servlets to use JSP.
Servlets are Java programs that run on a servlet engine that generate
HTML pages. They look like Java code with a lot of print statements
that are HTML strings.
JSP and servlets are small parts of the J2EE standard. J2EE is a
framework for enterprise wide data sharing and interoperation over the
web. Just setting up and running the J2EE server can get complicated
sometimes, so you probably don't to start with that.
A good book for learning about JSP and JDBC, with a little about
servlets is "Special Edition- Using Java Server Pages and Servlets" by
Mark Wutka, published by Que.
It would be a good idea to get NetBeans or Eclipse to develop in.
Eclipse has some plug-ins for JSP development. Netbeans has it's own
copy of Tomcat built-in so you can develop and test JSP within its
environment.
A good HTML editor that doesn't choke on JSP's is handy, BlueFish is
a freebie that's pretty good.
You can do it all with a text editor and copies of Tomcat, JayBird,
and Firebird if you like.
The Jaybird FAQ has an example web app that runs on Tomcat and creates
a database, tables, and columns then fills it with data and displays
it on another JSP page. It is under "How do I use Jaybird, with Tomcat."
It is for Tomcat 4 but I updated the example for Tomcat 5.5.x
recently. I can send you a copy if you like.
Rick
--- In Firebird-Java@yahoogroups.com, "james_027" <james_027@y...> wrote:
>
>
> Hi Marius,
>
> --- In Firebird-Java@yahoogroups.com, marius popa <mapopa@r...> wrote:
> > james_027 wrote:
> > >
> > > Hi,
> > >
> > > I could like to start developing database application with Java.
But I
> > > don't know where to start or what Java technology will I use. Can
> > > someone guide me. Thanks.
> > >
> > > James
> >
> > jdbc + firebird
> >
> > http://java.sun.com/docs/books/tutorial/jdbc/index.html
> >
> > and jaybird manual (download it from sf.net)
> >
> Thank you very much. Sorry if I didn't make my question clear. I would
> like to know which java technology is much easier to development with
> like jsp? or servlet? or j2ee?
>
> James