EJB Remote Invocations over REST: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
=Overview= | =Overview= | ||
EJB calls can routed over REST invocations by changing "@EJB(lookup = "")" into "[[@javax.inject.Inject|@Inject]]" and adding a RestClientProducer. | EJB calls can routed over REST invocations by changing "[[@javax.ejb.EJB|@EJB(lookup = "")]]" into "[[@javax.inject.Inject|@Inject]]" and adding a RestClientProducer. | ||
=GitHub Example= | =GitHub Example= | ||
{{External|https://github.com/NovaOrdis/playground/tree/master/jee/ejb/ejb-over-rest}} | {{External|https://github.com/NovaOrdis/playground/tree/master/jee/ejb/ejb-over-rest}} |
Revision as of 15:39, 1 May 2017
Internal
Overview
EJB calls can routed over REST invocations by changing "@EJB(lookup = "")" into "@Inject" and adding a RestClientProducer.