The unirpcd is the only thing that is necessary on the server side,
and this comes with 10 & above. asjava.zip needs to be in the
classpath on the client.
You will ultimately be better off, I think, if you do two things:
Create wrapper classes around the primary asjava classes so that you
can modify their behavior.
Plan on using middleware, such as servlets, for actually accessing
Universe in a production situation.
The list could extend for quite a ways. There are enough booby traps
there to keep you entertained for a while.
More advice:
Use subroutines as much as reasonably possible.
Create a "UvSession" interface, and program to it rather than to
"UniSession". This will help in many ways in the long run.
Use a UV subroutine that opens files to common on the back end and
hands out the index to the location. (You can only open a small,
arbitrary number of UniFiles simultaneously, so the common will allow
you to extend that number.)
Try to do as much conversion as you can on the host, prior to moving
data to the client. The asjava routines do conversions by calling
back to the host, which is terrible inefficient. (Or, if you are
slightly nuts, you can re-implement the common conversions in Java.
Hmmm, maybe I was nuts a while back.)
The innards of UniObjects can be confusing at points. If you try to
access UV delimited strings outside of the UniDynArray class, you
will eventually stumble on character encoding issues, wherein the
delimiters are improperly mapped. The problem is that some platforms
default to UTF-8 for converting between bytes and characters. The
asjava classes could easily deal with this, but they have not. This
can be mitigated by using the following option on the Java executable:
-Dfile.encoding=iso8859-1
There was an issue, #8776, that was finally fixed in 10.1.22 ( I
think), and also in 10.2.1, that can affect Universe adversely if a
client session times out or otherwise terminates abruptly. If you
are running any client software (UCI, UniObjects for Java, or the
other kind), and use dynamic files, then move to a version without
this issue. Dangling group locks can be irksome.
Good luck!
-Rick
On Nov 8, 2007, at 6:43 PM, Ray Wurlod wrote:
As far as I'm aware (in version 10) it's just "there" - you don't
need to install anything.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/