  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | Service Locator for versioned services | Service Locator for versioned services 2003-08-14 - By Christophe Th�paut
Back Hi
I've never had to use it myself but you may find usefull to investigate i18n and RessourceBundles along with properties.
Enventhough it is primarly used for handling various languages and regions without engineering changes, it is really helpfull for versioning (cf. Mark Cade's SCEA Study guide)
If you wish to know how to use i18n have a look at at i18n Sun's Tutorial : http://java.sun.com/docs/books/tutorial/i18n/intro/index.html
Hope this help
Christophe
> Good morning people. > > I'm hoping that some of you can help stimulate ideas in my mind with > regards the Service Locator. > > After writing an initial application which was all contained in one > large ear, we have recently embarked on a process of splitting up the > application into a number of services each of which have their own ear. > Now that the next application is in development and modifications need > to be made to the base services we would like to deploy different > versions of the same service. So we deploy two ear files. > > service-1 (See http://ice-1.ora-code.com).0.ear > service-2 (See http://ice-2.ora-code.com).0.ear > > and within them we have JNDI names something like > > /CompanyName/ServiceName/VersionNumber/ejb > > I would like to include a properties/xml file as part of the deployment > for my application that says it should use version 1.0 of service X and > version 1.3 of service Y etc and have the Service Locator use this file > to look up the correct version of the EJBs. > > Have people done or thought about this before? > > Are there any resources about that can help me? (I can not find anything > on the Sun Java site) > > Does anyone have any words of wisdom for me? > > Any help is most appreciated > > Thanks in advance > IV > > ==================================================================== > Companion Site: http://www.corej2eepatterns.com > J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns > List Archive: > http://archives.java.sun.com/archives/j2eepatterns-interest.html > Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to > listserv@(protected)
==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
|
|
 |