EJB Remote Invocations over REST: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
{{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}}


=Changes=
=Changes from EJB to REST=

Revision as of 22:18, 1 May 2017

Internal

Overview

EJB calls can routed over REST invocations by changing "@EJB(lookup = "")" into "@Inject" and adding a RestClientProducer as shown in the example linked below.

GitHub Example

https://github.com/NovaOrdis/playground/tree/master/jee/ejb/ejb-over-rest

Changes from EJB to REST