Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Create a single socket connection in mdb

Lovin_JVFeb 6 2017

IDE - jdeveloper 11.1.1.7

Weblogic server 10.3


I have a EJB deployed to weblogic server which reads messages received in JMS queue. The messages are pushed to JMS queue from an adf applciation deployed in same weblogic server.

My requirement - I need to read the messages and parse the data and send it to a server using socket connection from mdb. The server accepts a persistence connection and does not accept a new connection until the existing connection is killed or else it throws connection refuse exception. The connection made should be static or singleton for every message received in mdb

Is there any design for that.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 6 2017
Added on Feb 6 2017
0 comments
476 views