Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » All confused as in how to start (How and Where to import a sample Web Application?)
All confused as in how to start [message #808951] Tue, 28 February 2012 10:15 Go to next message
Karen Goh is currently offline Karen GohFriend
Messages: 18
Registered: February 2012
Junior Member
Dear forum members,

It's my first time using Eclipse and I'm very lost.

Basically, I am trying to learn about JSF and tomcat, using a archive file.

After setting up the server environment using Tomcat 5.5, I create a file under dynamic web project and name the project.

Then, I'm stuck.

Should I import the archive file by right click on the Server or should I import it under the new dynamic web project, in order for me to see how the sample application run?

Also, I'm stuck about the libraries. The instruction given was that there are some libraries that need to be added into existing Libs project. How do I do so?

Hope some one can kindly advise me. The author did not leave any contact and I'm so keen to learn about how to use Tomcat with JSF and Hibernate etc.

Million thanks.


Re: All confused as in how to start [message #809094 is a reply to message #808951] Tue, 28 February 2012 13:24 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2012.02.28 3:15, Karen Goh wrote:
> Dear forum members,
>
> It's my first time using Eclipse and I'm very lost.
>
> Basically, I am trying to learn about JSF and tomcat, using a archive file.
>
> After setting up the server environment using Tomcat 5.5, I create a
> file under dynamic web project and name the project.
>
> Then, I'm stuck.
>
> Should I import the archive file by right click on the Server or should
> I import it under the new dynamic web project, in order for me to see
> how the sample application run?
>
> Also, I'm stuck about the libraries. The instruction given was that
> there are some libraries that need to be added into existing Libs
> project. How do I do so?
>
> Hope some one can kindly advise me. The author did not leave any contact
> and I'm so keen to learn about how to use Tomcat with JSF and Hibernate
> etc.
>
> Million thanks.

Here's a tutorial that covers exactly what you're looking for. It might
be more helpful than what you're talking about (although I can't guess
what that is). It starts with Eclipse, Tomcat, JSPs and servlets.

http://www.javahotchocolate.com/wtp-tutorials/wtp-tutorial.html

I hope that's not too basic for you (you said you're new).

Then, once that's under your belt, tackle the articles about JSF
including RichFaces, Facelets, templates, etc. under "Other Tutorials" at

http://www.javahotchocolate.com/

When you have questions on how to use Eclipse, come to this forum (which
is what you've done). When you have questions more related to web tools
in Eclipse (using Tomcat with Eclipse, writing JSPs, JSF, web.xml, etc.)
you'll get the best help from the Eclipse web tools forum.

Best of luck.
Re: All confused as in how to start [message #809158 is a reply to message #809094] Tue, 28 February 2012 14:42 Go to previous messageGo to next message
Karen Goh is currently offline Karen GohFriend
Messages: 18
Registered: February 2012
Junior Member
Thanks Russell. I have a quick glean of the tutorials that you have recommended. Will sure check it out.

The examples I'm trying to follow is from this website:

monstersandwich.blogspot.com/2009/06/shopping-cart-web-application-part-5.html

and

monstersandwich.blogspot.com/search/label/facelets

and

monstersandwich.blogspot.com/search/label/spring

It seems that all are mashed up but it's all inter-linked to me.

I really hope to accomplish all what the author has taught but I'm already struggling even with the shopping-cart-web-application-part-5.html.

Is it possible to create all these under the same project? But then, I would have to change the configuration so many times...and I'm confused an stuck...cos should I tick JPA under the tomcat server runtime environment or I can add later when I come to the part about the hibernate JPA portion....
Re: All confused as in how to start [message #809178 is a reply to message #809158] Tue, 28 February 2012 15:06 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2/28/2012 7:42 AM, Karen Goh wrote:
> Thanks Russell. I have a quick glean of the tutorials that you have
> recommended. Will sure check it out.
> The examples I'm trying to follow is from this website:
>
> monstersandwich.blogspot.com/2009/06/shopping-cart-web-application-part-5.html
>
>
> and
>
> monstersandwich.blogspot.com/search/label/facelets
>
> and
>
> monstersandwich.blogspot.com/search/label/spring
>
> It seems that all are mashed up but it's all inter-linked to me.
>
> I really hope to accomplish all what the author has taught but I'm
> already struggling even with the shopping-cart-web-application-part-5.html.
>
> Is it possible to create all these under the same project? But then, I
> would have to change the configuration so many times...and I'm confused
> an stuck...cos should I tick JPA under the tomcat server runtime
> environment or I can add later when I come to the part about the
> hibernate JPA portion....

What you're trying to start out with is notoriously complex, especially
matching just the right libraries. Maven can be helpful (but I hate it
personally especially the artifacts in this particular area of web
programming). Tutorials on this topic go stale very fast and become less
than helpful.

The tutorial you've chosen looks like good stuff.

Another place to get great tutorials that work is http://www.vogella.de.

I probably can't help with the specifics of the monstermash stuff, but
I'd be happy to answer any questions that arise from my tutorials.

Best of luck,

Russ
Previous Topic:Eclipse/Android, new source version
Next Topic:Running web apps in eclipse
Goto Forum:
  


Current Time: Thu Apr 25 19:34:53 GMT 2024

Powered by FUDForum. Page generated in 0.08659 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top