jQuery in Action, 3rd edition
The moose likes Websphere and the fly likes IBM Websphere 4.0, JNDI, server groups Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "IBM Websphere 4.0, JNDI, server groups" Watch "IBM Websphere 4.0, JNDI, server groups" New topic

IBM Websphere 4.0, JNDI, server groups

Sean Sullivan
Ranch Hand

Joined: Sep 09, 2001
Posts: 427
IBM Websphere 4.0 has a feature called a "server group"
In a server group, each application server instance is a cloned copy.
"A server group is a template for creating copies of an application
server instance. The copies are called clones. The act of creating the clones is called cloning.
Cloning allows identical copies of application servers to be created. Server groups and clones
can be created only for application servers. A system administrator first creates a server
group that represents an application server with the desired properties. From it, one or more
clones can be created. The clones represent real application server processes; when first
created, they are identical to the model in every way.
Changes to a server group are propagated to its clones when the clones are restarted.
You can efficiently administer several copies of a server or other resource by administering its
server group."
Here is my question:
My web application uses:
Stateless Session EJB's
The servlet connects to the EJB using JNDI via a JNDI URL
In our single machine configuration, the URL looks like this:

In a Websphere "server group" configuration, I wonder what is the best approach
for accessing the JNDI server
Should each "clone" connect to the JNDI server via iiop://localhost:900 ?
IBM's Websphere 4.0 infocenter does not provide any guidance.
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
The answer to your question is yes.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
I agree. Here's the link: http://aspose.com/file-tools
subject: IBM Websphere 4.0, JNDI, server groups
It's not a secret anymore!