« October 2005 | Main | December 2005 »
November 21, 2005
Web Services Assignment Help
UPDATED NOV. 22A student found a way to get the zip code web service to work. He downloaded the latest version of JBoss 4.0.3sp1. Go ahead and download and set up the new version of JBoss, remember to deploy your axis.war file (make sure to the get the updated Axis 1.3). Also, go through the EJB 3 instructions to install the EJB 3.0 files. This shouldn't be too much work.
The best way to download files directly onto your UML is to use wget. For example:
wget http://voxel.dl.sourceforge.net/sourceforge/
jboss/jboss-4.0.3SP1.tar.gz
We have found there are a couple of things you have to do to make sure that you can access and use the zip code web service.
- Shutdown JBoss.
- Make sure your
axis.warfrom the Server Setup assignment is deployed properly. In the Server Setup assignment you deployed it to thedefaultdeploy directory, you need to deploy it to thealldirectory. - Create a jar file that contains all the classes created from the Web service. I called mine
zipcodes.jar - Copy that
zipcodes.jarto the$JBOSS_HOME/server/all/lib/directory. - Change your
build.xmlfile so that it puts that jar file in your classpath. Also, add to yourbuild.xmlfile some lines that will copy the zipcodes.jar to yourbuild/jardirectory. - Next you'll need to edit the file $JBOSS_HOME/server/all/deploy/jbossweb-tomcat55.sar/
META-INF/jboss-service.xml.
Find theUseJBossWebLoadertag and change thefalsetotrue. - Restart JBoss.
After doing those things you should be able to get the service to work. At least that's how I got it to work.
UPDATE 11/22There have been some problems that have arisen. It seems that for some people their WSDL2Java does not produce all the .java files you need. We found if you updated to Axis 1.3 then you should be able to generate all the .java files. After you run WSDL2Java, you should have 14 classes in the directory it creates.
Posted by danolsen at 08:13 AM | Comments (0)
November 18, 2005
Student Evaluations
Online student evaluations are available beginning today. Please take a minute to fill out an evaluation for this class. Your feedback is important. This class has changed in the past due to student feedback--it does make a difference.
Posted by windley at 07:22 AM | Comments (0)
November 14, 2005
Assignments
Tomorrow, I'll go over the Web services assignment and the final project.
Posted by windley at 04:04 PM | Comments (0)
November 03, 2005
EJB QL
Review the EJB QL content from this lecture for help with the group portion of the assignment. Also, if you have the Monson-Haefel book, or access to it, there's a whole chapter on EJB QL.
Posted by windley at 09:09 AM | Comments (0)
November 01, 2005
EJB Individual Assignment
The individual part of the EJB assignment is now due tomorrow, Wednesday Nov. 2. The group part of the assignment is now due on Nov. 9.
Posted by danolsen at 03:51 PM | Comments (0)
Java Beans
I have found that many of you are trying to stuff you JSP pages full of code. You should be putting as much code as possible in your Session and Entity beans. You should only put code in your JSP if it is absolutely necissary.
Posted by danolsen at 01:18 PM | Comments (0)
