• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

REST Service Using Axis2 and Hibernate

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All

I was tried to find some tutorials for a POC on REST With Axis2 using hibernate. But i am not able to find some good tutorials. so here am posting the important steps.

IDE : Eclipse

Step 1 : create a java project in Eclipse.
Step 2: create the required Resource classes.
Step 3: build the .aar file
Step 4: copy the .aar file into <axis2_home>/WEB-INF/services folder (I am using Tomcat as my servlet container)

The following are the important stpes:

Step5: copy your hibernate.cfg.xml and the *.hbm.xml files into <axis2_home>/WEB-INF/classes folder
Step6: copy your compiled classed to the same path.
Step7: copy the hibernate*.jar and dependency jars into <Tomcat_Home>/lib folder.

This is the required steps. now you can test the REST service as the usual way.

Please tell me if any other way is avail.
sorry for my english


With regards
Kutty
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic