• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Portlet Services

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I was able to make use of the portlet services. But now, i want to use spring injection in the services project. how do i proceed with it?
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there a problem you are anticipating?

Spring, as an IOC application framework, shouldn't be any more difficult to use in a Portlet Service or Portlet Application than it would in any other Java or J2EE application.

Learn and understand Spring, and you shouldn't run into too many problems.

-Cameron McKenzie
 
Bhargav N Balasubrahmanya
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Cameron, i was actually facing problems with this earlier.
I could create a simple portlet service and use it in my portlet application.
The portlet service, when run independently with the spring injection ran fine.
But when i tried running it as a service(in the sense, use it in my portlet application), it used to cause me problems saying, the spring-beans.xml was not found. If the give the absolute path of the xml in the application, it would work fine, but the relative paths were causing problems.
It's ok now. i could solve it with some changes in my code.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic