JSP + Servlets + EJB: Java EE 6 & GlassFish 3 using NetBeans 6.9 (Part 1 of 5)

preview_player
Показать описание
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

Рекомендации по теме
Комментарии
Автор

This was an immensely helpful tutorial. You make excellent use of the medium of YouTube and your examples and easy to follow whiel at the same time very informative. Thank you very much.

On a personal note: It's both frightening and very interresting to see how fast things are moving and how much easier it has become to perform previously tedious and mundane tasks such as persistence. This highlights the need for the individual developer to stay current. :)

mkarnerfors
Автор

Great tutorials and thanks for your great work!

Would be great if you create a screencast using CDI, JSF, Facelets together with JPA (that is all technologies combined) to create a web application. I am particularly interested of using CDI and JPA. We really lack this kind of tutorials.

Keep up!

cvasilak
Автор

simple and straightforward. Thanks for the tutorial

jesegh
Автор

Thank you for this tutorial, you demistified it very well.That is awesome.

BarackHusseinMMO
Автор

@cvasilak CDI + JPA will be coming in future, stay tuned!

arungupta
Автор

@lohiashailendra And where is this HTML file added ?

What are you trying to achieve ?

arungupta
Автор

Hi arun,

thanks for this interesting and helpful tutorial.

i have one problem, in helloservlet when you wrote session and press entered of something it generated template code, but when i tried the same it didnt generated the template code. can you please explain the steps how to generate template code using short key or something like u did in this video.

thanks for any help

sincerely

asif

masifshoukat
Автор

hi Arun,
Thanks for great tutorial.
But I am facing one problem and it is "requested URL not found on server".
I have written one small html file and it is throwing this error. Can you pls let me know the possible reason for same? Same html file is working fine in eclipse.

Thanks in advance.


lohiashailendra
Автор

Hello,
Thanks very much for a nice tutorial, I have a question that can you help me in a web application to enter data in text feild of jsp and then data should save in a text file. I have 2 java classes and jsps to enter the data in the text boxes. The sevlet code is a bit tricky for me. Could you give me any advise. ?
Thanks

RaqseeBismil
Автор

nice tutorial...i have a problem in persistence. I'm using many to one relationship in my entity. After running the entire projeect tables are created but values are not persisting.
could you please tell me the error.
Glassfish error is : WARNING: During synchronization a new object was found through a relationship that was not marked cascade PERSIST: requirment.buyer[ id=null ].

collegebunker
Автор

Can you please do a container based transaction in message driven bean for multiple sub methods with has it's own transaction boundries

kirubakaranmuthiah
Автор

@arun: I wrote a simple jsp file and tried to run, it is throwing "The requested URL /HelloWeb/ was not found on this server". i followed the same steps which has been mentioned in netbeans tutorial.

can u pls let me know the possible reasone for this error?

Thanks

Shailendra

lohiashailendra
Автор

@masifshoukat This is generated as a code template, use the below code:

int count;
if == null) {
count = 0;
} else {
count = (Integer)
}
request.getSession().setAttribute("count", ++count);
out.println("Accessed: " +

arungupta
Автор

@tembehval This also happened to me! Did you solve it??

pluckygalaxy
Автор

when i run my webapplication i get 404 not found
plz

charminglata
Автор

Hi arun,

thanks for this interesting and helpful tutorial.

i have one problem, in helloservlet when you wrote session and press entered of something it generated template code, but when i tried the same it didnt generated the template code. can you please explain the steps how to generate template code using short key or something like u did in this video.

thanks for any help

sincerely

asif

masifshoukat
visit shbcf.ru