• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

JPA, EJB and Web Application

 
Greenhorn
Posts: 26
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 662
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you getting any exceptions?
 
Prateek Jauhari
Greenhorn
Posts: 26
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there any hot redeployment issues with JBoss AS 5.1.0GA...
or any other issue with this server...?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic