Hello !
Below is the couple of lines from the weblogic template for testing business
methods.
There is a method called getInitialContext which holds the part of the
template code
that holds the parameters for connecting to the appserver that this template
is used with.
What you have to change if you want to create a template for JBoss is the
two lines namely
contextFactory and url. They are the appserver specific lines. So check how
is the connection
made to JBoss from some sample code and create a new template accordingly.
Hope this helps.
Cheers,
*Rami*
/**
* Gets initialContext.
* This method uses weblogic.jndi.WLInitialContextFactory to obtain an
* initial naming context.
*
* @return InitialContext The initial naming context.
*/
private InitialContext getInitialContext() throws NamingException {
InitialContext initialContext = null;
Properties p = new Properties();
String contextFactory =
"weblogic.jndi.WLInitialContextFactory";
String url = "t3://localhost:7001";
String portNumber = null;
String hostName = "localhost";
-----Original Message-----
From: Dunnavant, Todd [mailto:[EMAIL PROTECTED]]
Sent: 15. elokuuta 2001 2:28
To: Rose_Forum
Subject: RE: (ROSE) QualityArchitect
Rob,
I understand that there are just a couple of lines of code that need to be
changed in the app server-specific templates, in order to support a new app
server. No, I don't know which lines those are :-(
********************************************************
R a t i o n a l
the e-development company(tm)
Todd Dunnavant
Technical Lead, South Texas District
Office Phone #: (281) 431-8751
Fax Phone #: (281) 431-8791
E-mail address: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Rational's Mission: "To ensure the success of Customers who
depend on software development and deployment."
********************************************************
-----Original Message-----
From: Rob [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 8:38 AM
To: Rose_Forum
Subject: (ROSE) QualityArchitect
Hello All,
I was perusing the documentation for QualityArchitect, and there is only
support for three EJB servers, WebSphere, WebLogic and the Sun Reference
Server. Has anyone ever tried to use QA for EJB's being deployed to a
different server, say JBoss?
Any opinions or advice you can relay on experiences with QA and EJB's would
be greatly appreciated.
Thanks in advance,
Rob
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************