This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Originally posted by robert sturn: My question is whether is it a good idea to run my own Server socket from within weblogic.
I think it's a Bad Idea:
If application components contain the same functionality provided by J2EE system infrastructure, there are clashes and mis-management of the functionality. For example, if enterprise beans were allowed to manage threads, the J2EE platform could not manage the life cycle of the enterprise beans, and it could not properly manage transactions.
You are very light on the details of your situation, but I'd be inclined to make the custom server stand-alone and have it communicate with the main application via message queues, RMI/EJB calls, web services or something of that nature.
I have the same question:
In this moment I have a JAVA multi-thread Server used to manage multi-clients connection for TCP raw data.
The data flow is insert in a WebLogic 9.3 queue with a JMS producer.
Now I need to deploy the TCP server inside the WL server, but I need to configure WL to open a configurable port for that raw TCP traffic.
Is that possible?
Welcome to the JavaRanch.
You should take a few minutes and read our FAQ: HowToAskQuestionsOnJavaRanch. It's a Bad Idea to hijack a post, especially when the general direction of the post recommends a course of action that is the opposite of the one you have taken.
but I need to configure WL to open a configurable port for that raw TCP traffic.
WebLogic does not block ports. If you have your own ServerSocket listening for connections, WebLogic doesn't manage the connection at all (which is why it's a Bad Idea) and therefore doesn't need to be configured.