I have an application that is not over ejb.
I have all the SQL Statements of the application in a XML file.
Ej
select * from countries where status = 'ENABLED'
I am migratting the application to j2ee, using jboss.
How can i to put all the statements accesible by the EJB?
I would
I do that and nothing...
---
Message: 8
Date: Sat, 12 May 2001 06:55:02 -0700 (PDT)
From: Nikhil Patil <[EMAIL PROTECTED]>
Subject: Re: [JBoss-user] How to read a file as a Resource
To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Hi
Start the resource name with / assuming that t
What i am tryin to do is to read a XML file that is in the CLASSPATH.
I have a XML file in my classpath and I need to read it. That is a resources for me.
This file has some information that i need.
The code is:
Object o = new Object();
System.out.println("O is:" + o);
Sorry for the confution.
The idea is other, is something like this:
The data base have some products information, and i want to send this information to an user, the goal is to format the data using an JSP template, and produce a HTML page and send it by email
Something like this:
EJB COMPONENT
Hello!
I am developing an application which has to send an email to some users.
The email is in HTML format, but what I have to do is to create the mail using some
information from
a Data Base and a HTML template.
The administrator can change the template every day.
What I want to do
What i am tryin to do is to read a XML file that is in the CLASSPATH.
The XML file is what I call resource.
This file has some information that i need.
-
Message: 6
From: "Guy Rouillier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTEC
I need to read a resource that i have in the classpath,
The code is:
Object o = new Object();
System.out.println("O es:" + o);
Class c = o.getClass();
System.out.println("Class es:" + c);
System.out.println("Resourc
Hello Some one can tell me what are the diferences between those products and why
JBoss is better?
Thanks.
__
Message sent with Misiva
Visit us at http://www.pragma.com.co/misiva
___
JBoss-user mailing list
[EMAIL
I have downloade the jboss version which comes with tomcat, when i execute the example
the page says:
"...and once with the inVM optimization.."
I see the difference, but:
This only works with the embeded web server?
if i try in a distributed enviroment it works the same. I tryed with jboss in