Java EE 6 and GlassFish 3 with NetBeans 6.9 (1 of 5) - JSP + Servlets + EJB

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
56,272
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 4, 2010

This multi-part screencast series shows how NetBeans 6.9 provides comprehensive tooling for Java EE 6 & GlassFish 3. The different parts show:

1. A simple Java EE 6 application (JSP, Servlets, EJB)
2. Reading database table using Java Persistence API 2
3. Using Facelets with Java Server Faces 2
4. Contexts & Dependency Injection with JSF 2
5. RESTful Web services using JAX-RS

Video created by Arun Gupta (http://youtube.com/user/arungupta)

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (GlassFishVideos)

  • org.apache.jasper.JasperExcept­ion: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required

    -this is the error mesg im getting when running the sample program..

    jdk/jre both are already installed..

    dont know what's wrong w/ it..

  • @maimac08 Is JAVA_HOME set to JDK or JRE ?

see all

All Comments (30)

Sign In or Sign Up now to post a comment!
  • I keep getting this

    description The requested resource (/servletName) is not available.

  • Hey duda, it was a good tuttorial i hope you put some more.

    thanks in advance...

  • thanks man , that was good

  • Arun, I hope you can record your videos with a louder and clearer voice next time. Otherwise nice video

  • @gideon5259 in my Netbeans (7.0), for language java, "session" is not predefined template abbreviation. You must define New template under Tools -> Options ->Editor (button) -> Code Templates (tab) .. (select appropriate languages for which template is intended). Also ensure "Expand template on:" is set to Tab (if you want template text to appear on hitting tab after template abbreviation).

    Hope that helps.

  • @harpreetkhakh......hey thnx for that tip......but whenever i type 'session' and press 'tab'......there used to be no command....i tried it many times but the command was not there....could u please help.....

  • How would I access the Session bean directly from a JSP? From servlet it works just fine as shown in the video.

    Thanks

  • The Servlet is not a POJO because extend another class

  • Add these replacing my file location with your file location (on the last X, you are only adding "properties" to the existing line:

    X Map properties = new HashMap();

    X properties.put(EJBContainer.MO­DULES, new File("C:\\Users\\Tim\\Document­s\\NetBeansProjects\\HelloWorl­d\\build\\web\\WEB-INF\\classe­s"));

    X HelloBean instance = (HelloBean)javax.ejb.embeddabl­e.EJBContainer.createEJBContai­ner(properties).getContext().l­ookup("java:global/classes/Hel­loBean");

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more