Skip to main content

@EJB in JSF backing bean on Websphere 6.1

3 replies [Last post]
mjdenham
Offline
Joined: 2006-01-19

Hi,

Is it possible to make @EJB references to EJB 3.0 session beans work in JSF backing beans on Websphere 6.1? We are using JSF RI 1.2.

If not, would an appropriate injection provider implementation fix this? If so, is there one?

Thanks

Martin

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Ryan Lubke

webtier@javadesktop.org wrote:
> Hi,
>
> Is it possible to make @EJB references to EJB 3.0 session beans work in JSF backing beans on Websphere 6.1? We are using JSF RI 1.2.
>
> If not, would an appropriate injection provider implementation fix this? If so, is there one?
>
Yes, someone would need to implement the Mojarra's InjectionProvider
interface.

See this blog entry [1] for details.

[1] http://blogs.sun.com/rlubke/entry/jsf_ri_1_2_and
> Thanks
>
> Martin
> [Message sent by forum member 'mjdenham' (mjdenham)]
>
> http://forums.java.net/jive/thread.jspa?messageID=321384
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: webtier-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net

mjdenham
Offline
Joined: 2006-01-19

Hi Ryan,

I read that interesting blog of yours and it is what triggered my original question. I know that injection providers exist for Tomcat, Jetty, and Glassfish and also that BEA created one for Weblogic some time ago, but I cannot find one for Websphere and wondered if anybody was aware of an injection provider existing or being created for Websphere.

I looked briefly at the injection source in the JSF RI code to see if it would be possible to create a simple one but have not got far.

Thanks

Martin

Ryan Lubke

webtier@javadesktop.org wrote:
> Hi Ryan,
>
> I read that interesting blog of yours and it is what triggered my original question. I know that injection providers exist for Tomcat, Jetty, and Glassfish and also that BEA created one for Weblogic some time ago, but I cannot find one for Websphere and wondered if anybody was aware of an injection provider existing or being created for Websphere.
>
> I looked briefly at the injection source in the JSF RI code to see if it would be possible to create a simple one but have not got far.
>
I'm not aware of one.
> Thanks
>
> Martin
> [Message sent by forum member 'mjdenham' (mjdenham)]
>
> http://forums.java.net/jive/thread.jspa?messageID=321463
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: webtier-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net