All you need to do is to find a Home interface. You can do your own networking and rmi to get it.

解决方案 »

  1.   

    jms的消息管道可以提高ejb性能
      

  2.   

    The product I am working on is like that. But I cann't give you the source code.
      

  3.   

    All you need to do is to find a Home interface.
    --Can you advise me, if not using JNDI how to obtain the Home interface?(Don't tell me to use T3) And JMS has Home interface? 摘自 JMS spec:
    It is expected that JMS providers will differ significantly in their underlying
    messaging technology. It is also expected there will be major differences in how
    a provider’s system is installed and administered.
    If JMS clients are to be portable, they must be isolated from these proprietary
    aspects of a provider. This is done by defining JMS administered objects that
    are created and customized by a provider’s administrator and later used by
    clients. The client uses them through JMS interfaces that are portable. The
    administrator creates them using provider-specific facilities.
    There are two types of JMS administered objects:
    • ConnectionFactory - This is the object a client uses to create a connection
    with a provider.
    • Destination - This is the object a client uses to specify the destination of
    messages it is sending and the source of messages it receives.
    Administered objects are placed in a JNDI namespace by an administrator. A
    JMS client typically notes in its documentation the JMS administered objects it
    requires and how the JNDI names of these objects should be provided to it.除非你做的 Messaging 系统,除支持 JMS API 之外,还支持自己的一套方法,否则你
    要使用 JNDI。IBM 的 MQSeries 有自己的 Java API(两种)。