• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JPA, EJB and Web Application

 
Prateek Jauhari
Greenhorn
Posts: 26
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any tutorial or example for using JPA and EJB3.0 and test client as a servlet or struts action class.
I am trying to save value in database using a stateless session bean and JPA and the invoke that session bean in servlet.

Here is my entity class



Here Is my session bean





This is my servlet


I am using JBoss 5.1GA application server, MySQL and Netbeans 6.9.1 IDE


I am not able to get this thing worked...
Any help please ...
I need this thing up badly...

Thanks In Advance..

Regards
Prateek
 
Arun Kumarr
Ranch Hand
Posts: 661
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you getting any exceptions?
 
Prateek Jauhari
Greenhorn
Posts: 26
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not able to deploy the bean over the server..
Each time I do a deployment, I get a new Exception.
 
Prateek Jauhari
Greenhorn
Posts: 26
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any hot redeployment issues with JBoss AS 5.1.0GA...
or any other issue with this server...?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic