Josh Cimino
Software
Developer
Mxi Technologies
Ltd.
1430 Blair Place, Suite 800
Ottawa, ON, Canada
K1J 9N2
E: josh....@mxi.com
T: 613.747.4698 ext
479
F: 613.747.1909
www.mxi.com
"From the flight line to the bottom line"
try {
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
props.put(Context.PROVIDER_URL, "iiop://localhost:900");
InitialContext _theCtx = new InitialContext(props);
System.out.println("Got the initial context");
"Josh Cimino" <josh_...@hotmail.com> wrote in message news:9rsfmd$dug$1...@news.boulder.ibm.com...
"Josh Cimino" <josh_...@hotmail.com> wrote in message
news:9rsfmd$dug$1...@news.boulder.ibm.com...
I'm new to Websphere....
I think I've installed an ejb correctly. Now how do I connect to it? Should
I use 'com.ibm.websphere.naming.WsnInitialContextFactory' as the initial
context factory? What's the URL to connect to?
Also, does Websphere come with any sample source code? I can't seem to find
any.
Thanks in advance,
Also download the redbooks from www.redbooks.ibm.com
Also look at the articles on www.webspherepro.com
There is ample material in the above to get you going.
Josh Cimino wrote:
> I'm new to Websphere.... I think I've installed an ejb correctly. Now
> how do I connect to it? Should I use
> 'com.ibm.websphere.naming.WsnInitialContextFactory' as the initial
> context factory? What's the URL to connect to? Also, does Websphere
> come with any sample source code? I can't seem to find any. Thanks in
> advance,
> -----------------------------------------------------------------------