This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes Glassfish and first cup example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Glassfish and first cup example" Watch "Glassfish and first cup example" New topic
Author

Glassfish and first cup example

Jeremy Dodds
Greenhorn

Joined: Jul 23, 2011
Posts: 2
Question 1:
I want to work through the following tutorial:
This is Your First Cup: An Introduction to Java Platform, Enterprise Edition, a short tutorial for
beginning Java EE programmers. This tutorial is designed to give you a hands-on lesson on
developing an enterprise application from initial coding to deployment.


However, this sample project was not included in the netbeans 6.9.1 IDE that I installed.
According to the tutorial documentation, this sample project can also be found/updated via the Update Center as follows:
Update theTutorialThrough the Update Center
Open the Update Center and check for any updates to the tutorial.
Open the Services tab in NetBeans IDE and expand Servers.
Right-click the GlassFish Server instance and selectView Update Center to display the Update
Tool.
Select Available Updates in the tree to display a list of updated packages.
Look for updates to the First Cup 2. 0 for Java EE 6 (javaee-firstcup-tutorial) package.
If there is an updated version of First Cup 2.0, select First Cup 2. 0 for Java EE 6
(javaee-firstcup-tutorial) and click Install.


The tutorial sample was also not available here.

So, where can I find (download) the sample project?

Question 2: If I want to use glassfish to test my own sample web pages locally, where can I find the documentation that instructs one on how to set up such pages?
Should one place your own html pages in the same directory as the index.html file?

Many thanks for helping!



Thanks! JD
Kerni Tek
Greenhorn

Joined: Aug 20, 2011
Posts: 1
the source code is in here. But not sure if it works anymore.
Zlatko Marcok
Greenhorn

Joined: Aug 19, 2009
Posts: 2
In the top level of the glassfish update tool, edit properties, and enable release.javaeesdk.oracle.com as a publisher.
Then you will see First Cup 2.0 for Jave EE 6 in the Available Add-ons section.

Best regards
 
 
subject: Glassfish and first cup example
 
Similar Threads
Java EE 6 Tutorial - Cart issues
create table auto_increment
First Cup: Java EE Tutorial
can't deploy or run a Hibernate with the Java Persistence API and JSF 1.2 web application
Problem while Encrypting SOAP body using Metro