Online Instructions ] Assignments ] Syllabus ] Online Resources ] Examples ] Lecture Notes ] [ Class Updates: ] Project Format ]

Class Updates (Spring 98):

  1. Sparc Solaris: If you use the new JDK1.2beta2 with beanbox on openlook systems (portia, lear, beatrice ...), it will crash when you connect events. Use the old JDK1.1.3 in \install\jdk1.1.3\bin to work around. (2/11/98)
  2. I have fixed a bug in Beans tutorial for NervousText05.java that allows bean to be dynamically resized. (2/11/98)
  3. There is a problem with getting the fully qualified domain name when running rmi applications on Sun Solaris. To
    get around it, you need to start the server side with the hostname specified. For example, with the count application
    java -Djava.rmi.server.hostname=lear.csp.ee.memphis.edu -Djava.rmi.server.codebase=http:\\lear.csp.ee.memphis.edu\~rdeaton\codebase\ CountRMIServer &
    The "codebase" is for dynamic loading of stubs. This works for RMI applications, but I am still having problems with applet.
  4. You can use the idltojava compiler without a C pre-processor with 'idltojava -fno-cpp' as
    an option.
  5. JavaIDL applications will run locally on the Sun cluster, but not remotely.
  6. The third project on CORBA is cancelled.  If you use CORBA in your final project, you will receive extra-credit equal to a 100 on the third project.  If you don't want to use CORBA
    on the final project, your grade will be based on the first two projects plus the final project.
  7. Sign-ups for the Final demo are outside my office.  The times are Monday, 5/4, and Tuesday, 5/5.  Early Demos may be done early on Monday.
  8. Check the online resource for links to material on UML and JavaIDL Poll application.
  9. For JavaIDL applets, you will need to specify the ORBInitialPort as a parameter
    in your applet html file.  Here is an example.

Class Updates (Spring 99)

  1. For example beans, things are simpler if you delete the package statements in the source.
  2. Source for example beans is in bdk\demo\sunw\demo directory.
  3. Don't use notepad to edit your files, especially manifest files.   It is adding some formatting characters, and will not be incorporated in the jar correctly.  Use a non-formatting text editor.  Word works if you save as text-only and Wordpad also works if you save as text.
  4. I have added some more example beans that have to do with File operations in beans.
  5. Rational Rose Education Version download.
  6. Java class server for Win32 and distributed object projects.
  7. I have installed winvi on most machines in 229.  It should show up as a shortcut on your desktop.  It is a text editor that can be used as a regular windows editor or in vi mode.  To get to vi mode, hit escape.  It is available on the share directory in 9 below and here.
  8. The java class server is also available locally here, and in the shared directory given in 9 below.
  9. I have shared a directory in 229 called AdvJava on es229d01 that has all the rmi examples, bytecode, batch scripts, etc ... in it.  In addition, the wwwroot directories are shared to allow you to transfer your client/server code easily (2/24/99).
  10. A hint for getting RMI to work on a standalone Windows 95 machine.
  11. Web page for requesting linux accounts.
  12. I have added my procedures for getting RMI up and running here.
  13. Project 3 description and tentative due dates have been added here.   Be sure to review CORBA/IDL in book or Tutorial over Spring Break.
  14. I am having some problems with the environmental variables in Rm. 229.  Two options if idltojava don't work:  a) run "C:\Program Files\DevStudio\VC\bin\vcvars32.bat" to set up environment in each dos window b) run the idltojava compiler with the no compiler option "idltojava -fno-cpp". (3/24/99)
  15. I added a brief example of how to use IDL strucutures and "out" and "inout" parameters here.
  16. I have not had any success in implementing a callback object in an applet.  I have been able to use an "inout" parameter to accomplish almost the same thing.   Here is the example code.(4/2/99)
  17. For the callbacks, you need to set security policy on appletviewer.  See lecture on this (4/5/99).
  18. Put an example of a HelloWorld Applet that uses an IDL inout struct and works here (4/6/99).
  19. Here are a couple of HTML links (4/19/99): http://cavalcade-whimsey.com/html/ and
    http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimerAll.html
  20. There are some problems with servletrunner writing to a file.  To get it to work, do two things:  a) start servletrunner with path fully specified to servlet directory (-d option) and b) in your java source fully specify file path with "\\" to location where you want info stored.  Here is an example of a Java class that writes strings to a file that works in Rm. 229.
  21. If you want your grade, send me email and I will reply.  It won't be before Monday.

Class Updates (Spring 2000)

  1. In Rm. 312, the problems with the beanbox and manifest files originate from a ".txt" extension being appended to files from notepad, wordpad, or word.   Solution: a) go in and rename file. b) use a txt extension for manifest. There is no reason that it has to be .mf or .tmp c) add a tmp file type.
  2. In Rm. 312, work from Zip or D:\Temp directory.  Other disks are restricted.
  3. 2/10/00: Refer to some additional examples for how to handle bound properties in the BeanInfo class. Look
    at the ExplicitButtonBeanInfo.java file.  You have to set the property descriptor to be bound.
  4. I put two examples of Reports on the Examples page.
  5. 2/22/00: I have made the RMI assignment here.
  6. 2/25/00: The following on RMI in RM. 312:
    I have installed MS Peer Web Server on 12 pcs in ET 312.
    Only problem is you can't get to it using there name (since they are not in
    DNS)
    With following IP address I have tested and they are working fine.
    141.225.163.90 ET312D01
    141.225.163.91 ET312D02
    141.225.163.92 ET312D03
    141.225.163.93 ET312D04
    141.225.163.94 ET312D05
    141.225.163.95 ET312D06
    141.225.163.96 ET312D07
    141.225.163.97 ET312D08
    141.225.163.98 ET312D09
    141.225.163.99 ET312D10
    141.225.163.100 ET312D11
    141.225.163.101 ET312D12
  7. 3/6/00: For the RMI project, demos on HotJava browser or appletviewer are successfull. People have had
    problems with the browsers.
  8. 3/6/00: Some more information on callbacks and browsers is at this URL. Also, netscape is more restrictive
    than the applet security manager. To get callbacks to work on the browser, you have to add some netscape
    specific classes and capabilities, and sign your java applet (digital signature). More information at here on the
    Netscape Java Capabilities API.
  9. 3/7/00: Make sure you check report format for some minor updates. Reports are due 3/21/00. You have
    plenty of time so make them good.

Home

Back ] Home ] Next ]