SAP-EXX-EJB Integration

Hi all,
I have this scenario:

[EJB]<----1----[EXX]-[R3GW]<—2—[SAP]

I need to dispatch calls from SAP to EJBs. I am thinking how realize the integration about “1”.

Any suggestion would be appreciated.

Regards
Dario