This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Glassfish and first cup example

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!


 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the source code is in here. But not sure if it works anymore.
 
Greenhorn
Posts: 2
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!