Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

REST Service Using Axis2 and Hibernate

 
Kutty sun
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic