File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Glassfish and first cup example" Watch "Glassfish and first cup example" New topic

Glassfish and first cup example

Jeremy Dodds

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
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

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

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

Best regards
I agree. Here's the link:
subject: Glassfish and first cup example
It's not a secret anymore!