Forums Register Login

Portlet Services

+Pie Number of slices to send: Send
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?
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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.
Been there. Done that. Went back for more. But this time, I took this tiny ad with me:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1123 times.
Similar Threads
Passed IBM 829
How to refresh a portlet automatically
Java Standard Portlets vs. PortalBean Portlets
Portlet uniqueName
IBM 399: Some help in exam objectives
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 19:21:52.