I have a sample Java app (java code provided, compiled JAR file provided, 
custom JNDI properties) that successfully communicates with a remote JBoss 
middleware server; I need to run similar code within CF. It involves calling a 
static ServiceFactory class in that jar library to get the service object; 
these classes (within the jar library) use a custom jndi.properties file to 
locate that JBoss server.

I've come across examples of creating a java.util.Properties object (using 
javax.naming.Context) to set a custom context with JNDI properties and getting 
an EJB from that server; however, I need to create this local class, and have 
it use that context.

Creating that static class and getting the service object wouldn't be any issue 
if I was just using the app server's own jndi.properties, or getting an object 
directly from that remote server using that custom context, but how do I create 
an instance of this local class using that context?

Thanks,
- David 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316130
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to