On Thu, Sep 29, 2011 at 10:36 PM, Jonathan Gallimore
<[email protected]> wrote:

> I think all you need to do is use http://localhost:8080/openejb/ejb as the
> provider URL (swap 8080 for your http port if its different):
>
> Properties p = new Properties();
> p.setProperty(Context.INITIAL_CONTEXT_FACTORY,
> "org.apache.openejb.client.RemoteInitialContextFactory");
> p.setProperty(Context.PROVIDER_URL, "http://localhost:8080/openejb/ejb";);
> InitialContext ic = new InitialContext(p);
>
> Hope that helps.

Is this somewhere on the website? I think we should add it if it's
not. I volunteer to add it, but am asking for the place and moreover a
confirmation that it's not already there.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
"Hoping to save time by spending it" by David Blevins (Apache OpenEJB)

Reply via email to