I am new to j2ee and moreso to EJB containers!
I have installed JBOSS 3.2.1 and upgraded mySQL to v4.1 and am using driver mysql-connector-java-3.0.8 which I put in the C:\JBOSS_HOME\server\default\lib
then i copied the mySQL-ds.xml file from C:\JBOSS_HOME\docs\examples\jca to \deploy and changed a few things
and I deleted hsqldb-ds.xml from \deploy
SHould jndi-name be DefaultDS here?
then I changed any instance of Hypersonic DS to mySQL in two files
I've gotten a simple HelloWorld app to work and now am trying to work with session beans. With the hello example i typed localhost:8080/Hello and it worked
for the session example I've tried the same thing- put my beans in a jar file in the \deploy dir and create a dir there with a .war extention
All your servlets go in here.
and so I map the servelt to /search and tried to call it the same way- am I in the wrong context? What do I need to do to get this to work? Do I have to war the servlets in order to test them? If so where do I save the actual classes and where to put the war?
Any help would be great as I am on my last nerve!! I promise to post when I get it sorted too!
just wanted to add a few files
the tassie servlet/session bean example is from
Java for the Web with Servlets, JSP and EJB: A Developers Guide to Scalable j2EE Solutions. Good beginners book that uses JBOSS but avoids the EJB containers details.