beehive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Khanzode, Sandeep" <Sandeep.Khanz...@rci.com>
Subject Specify contextEnv as a property in EJB Control
Date Mon, 24 Mar 2008 18:39:45 GMT
Hello,

 

Is there any way to parameterize the providerURL in JNDIContextEnv? This
URL will be different in dev/test/prod env, and the value should be read
from a properties/xml file. Can the EJBControl be used this way? Or is
it intended to use only EJBs deployed on the host application server? Or
is there a different mechanism to access EJB deployed on a different
application server using EJBControl? Appreciate your response,

 

========================================================================
==

package controls;

 

import org.apache.beehive.controls.system.ejb.SessionEJBControl;

import org.apache.beehive.controls.system.ejb.EJBControl.EJBHome;

import org.apache.beehive.controls.system.ejb.EJBControl.JNDIContextEnv;

import org.apache.beehive.controls.api.bean.ControlExtension;

 

@ControlExtension

@EJBHome(jndiName = "com.services.order.ejb.OrderService")

@JNDIContextEnv(

        contextFactory="weblogic.jndi.WLInitialContextFactory",

        providerURL="t3://1.2.3.4:7001")

public interface SRKNextEJBControl extends

            com.services.order.ejb.OrderServiceHome, // home interface

            com.services.order.ejb.OrderService, // business interface

            SessionEJBControl // control interface

{

      static final long serialVersionUID = 1L;

}

========================================================================
==

 

 

 

Thanks n Regards                        

Sandeep Khanzode

RCI - Enhanced Weeks

7 Sylvan Way, Parsippany

(O): (973) 753 - 6855                    

 


"The information in this electronic mail ("e-mail") message may contain information that is
confidential and/or privileged, or may otherwise be protected by work product or other legal
rules.
It is solely for the use of the individual(s) or the entity(ies) originally intended.  Access
to this electronic mail message by anyone else is unauthorized.
If you are not the intended recipient, be advised that any unauthorized review, disclosure,
copying, distribution or use of this information,
or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.

Please notify the sender immediately if you have received this electronic message by mistake,
and destroy all copies of the original message.

The sender believes that this e-mail and any attachments were free of any virus, worm, Trojan
horse, malicious code and/or other contaminants when sent. 
E-mail transmissions cannot be guaranteed to be secure or error-free, so this message and
its attachments could have been infected, corrupted or made incomplete during transmission.

By reading the message and opening any attachments, the recipient accepts full responsibility
for any viruses or other defects that may arise, and for taking remedial action relating to
such viruses and other defects. 
Neither Wyndham Worldwide Corporation nor any of its affiliated entities is liable for any
loss or damage arising in any way from, or for errors or omissions in the contents of, this
message or its attachments."

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message