Monday, December 17, 2012

Liferay Jersey Restful web services

Liferay Jersey Restful web services

Hi i created Life ray Jersey Restful web services.

The following is the URL you can download Liferay Jersey Plug-in  portlet.

Once you get portlet from above URL
1)      Run service builder by ant build-service this will create meer-person table in database. If not created you can create manually and make sure primary column is auto increment.
2)      Run ant deploy to deploy portlet in your portal.
3)      Add portlet your page which is available in sample category.

The following is Liferay Jersey Portlet

I create table in liferay portal and I create two methods which are
1)      Adperson: This method adds the data in person table.
2)      Get Person:  get the Person by id.

1)    In view.jap you need change URL according to your environment. Means port number and your dev URL.
2)    If you change portlet context then you need to modify request URL in jsp page.
3)      For your liferay created table you need to alter table ad auto increment.

Important Classes and JSP

2)      View.jsp
3)      Web.xml
Location: 5, Koti Main Rd, Koti, Hyderabad, Andhra Pradesh, India


  1. This article is very good & informative.I have gain so much information from this blog.I like your blog.Thanks for the post.

  2. Replies
    1. please help me on same kind of issue

  3. Nice post....
    Can You help me please????


    thanksssss in advance...

    1. Ok dear....
      Thankssssssssss for this post....

      I have solve out my problem...

      I have successfully Jersey RestFul web service in Struts2 + Spring3 + Hibernate3 Liferay Portlet project...


  4. Visit this.......

  5. I try to adding workflow to my portlet. But it's be error. I don't know why.
    I followed this web
    Anybody can support me!

  6. Great article Lot's of information to Read...Great Man Keep Posting and update to People..Thanks business setup dubai

  7. I’ve been searching for some decent stuff on the subject and haven't had any luck up until this point, You just got a new biggest fan!.. girl rolling backpacks for school

  8. i really like this article please keep it up. SD-WAN

  9. While free hosting may sound like the ideal situation, it may not be the best choice. Below, you can read a website hosting comparison of free versus paid web hosting companies, so you can decide which one is right for you. best hosting provider in bangladesh

  10. This is really a good source of information, I will often follow it to know more information and expand my knowledge, I think everyone should know it, thanks. Best Ajax Third Jersey service provider.


Recent Posts

Recent Posts Widget

Popular Posts