  | 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
|
|
|
  | | | Issues related to ManagedConnectionFactory and cci.ConnectionFactory | Issues related to ManagedConnectionFactory and cci.ConnectionFactory 2003-08-04 - By Sandeep Rajpathak
Back Hello,
I probably have a very fundamental question related to the JCA 1.5 specs -
1. I have a requirement of configuring multiple ManagedConnectionFactory (MCF) in my Outbound Resource Adapter wherein each MCF would have different values of the configuration property.
For example, the configuration of the ManagedConnectionFactory requires 2 parameters - parameter1 and parameter2. And I am having 5 different values for these parameters. How do I pass these 5 different values of the parameters through the deployments descriptor with <config-property-name> being parameter1 and parameter2.
2. I understand that MCF are very closely tied to cci.ConnectionFactory and infact MCF is the factory for ConnectionFactory. But I am looking at configuring different instances of MCF but the cci.ConnectionFactory for these would be the same. I wanted to have one only cci.ConnectionFactory, so that I am not required to have multiple JNDI registrations and also because from an implementation perspective, based on the passed values of the parameters to the MCF, the createManagedConnection() would behave differently.
Thanks Sandeep
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <META content="MSHTML 6.00.2800.1170" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Verdana size=2>Hello,</FONT></DIV> <DIV><FONT face=Verdana size=2></FONT> </DIV> <DIV><FONT face=Verdana size=2>I probably have a very fundamental question related to the JCA 1.5 specs - </FONT></DIV> <DIV><FONT face=Verdana size=2></FONT> </DIV> <DIV><FONT face=Verdana size=2>1. I have a requirement of configuring multiple ManagedConnectionFactory (MCF) in my Outbound Resource Adapter wherein each MCF would have different values of the configuration property.</FONT></DIV> <DIV><FONT face=Verdana size=2></FONT> </DIV> <DIV><FONT face=Verdana size=2>For example, the configuration of the ManagedConnectionFactory requires 2 parameters - </FONT><FONT face=Verdana size=2>parameter1 and parameter2. And I am having 5 different values for these parameters. How do I pass these 5 different values of the parameters through the deployments descriptor with <config-property-name> being parameter1 and parameter2.</FONT></DIV> <DIV><FONT face=Verdana size=2></FONT> </DIV> <DIV><FONT face=Verdana size=2></FONT> </DIV> <DIV><FONT face=Verdana size=2>2. I understand that MCF are very closely tied to cci.ConnectionFactory and infact MCF is the factory for ConnectionFactory. But I am looking at configuring different instances of MCF but the cci.ConnectionFactory for these would be the same. I wanted to have one only cci.ConnectionFactory, so that I am not required to have multiple JNDI registrations and also because from an implementation perspective, based on the passed values of the parameters to the MCF, the createManagedConnection() would behave differently.</FONT></DIV> <DIV><FONT face=Verdana size=2></FONT> </DIV> <DIV><FONT face=Verdana size=2>Thanks</FONT></DIV> <DIV><FONT face=Verdana size=2>Sandeep</FONT></DIV> <DIV><FONT face=Verdana size=2></FONT> </DIV> <DIV><FONT face=Verdana size=2></FONT> </DIV> <DIV><FONT face=Verdana size=2></FONT> </DIV></BODY></HTML> =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p>
|
|
 |