Win a copy of Terraform in Action this week in the Cloud forum!

Catherine McManus

+ Follow
since Oct 23, 2000
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Catherine McManus

I quite like JPadPro from It's easy to get into, and the interface is nice. I got the eval version, then paid the money. It was quite cheap I think (a year ago).
May I be the first to congratulate you. Well Done.
- Can i do scjd from the oracle platform.
The project that most people are given is based around accessing a flat file database.
- Can I use the generation code facility from RRose for ex?
Cant see any reason why not.

- Can I use some IDE for Java or Corba product ?
My instructions say you can use an IDE "but your final product may not have any residual dependency upon that."

- Which DB can I use or some soft for help ?
You are required to use the flat file database provided and not any other product.
In javadoc there are the following options:
-public Show only public classes and members
-protected Show protected/public classes and members (default)
-package Show package/protected/public classes and members
-private Show all classes and members
I have only had a quick read of your post and one thing that strikes me is that you are creating two Data objects for the same filename. Data represents the database, ie the file. If you create two data objects, then you have two things accessing the file independently, and they are not communicating with eachother. If one Data object changes the file, the other one will not know about it,so it will be out of date, and you get the invariant error.
The solution is to only have one Data object. I certainly would not do anything as drastic as changing the add method.
Hope this helps
I am providing a classes directory containing the required class files. I am not separating out "supplied, modified, or new" but just putting them where they need to be to run the programs.
And I am providing a source directory containing the source with the same structure as the directory containing the classes.
I think this does not break the requirements which were not specific as to where to actually put the files.
Isleworth, London, England
20 years ago
Some people (like me) instead of getting a binary file (db.db) get a load of text that has to be converted into a binary file. That is where the extra constructor can be used. If you are one of the lucky people who already have db.db, you probably wont use it.
As far as I understand RMI, when you bind the object on the server side, there is only one object. When a client does a Naming.lookup(), they get a reference to that one object.
My server only has one Data object. That is in a wrapper class, and an instance of this is the object that I bind.
In answer to your question :
In network mode, do two separate clients use the same remote object
or the same objects of different threads (effectively different objects) ?
I would say that the two separate clients DO use the same object on different threads. BUT although there are two threads, there is only one object.
Does each request generate a separate thread (e.g. java servelet does so)?
Uuuh, not sure. I would expect it to. But I would like to hear from someone else on the subject.
I haven't got very far with my project yet, but I can't at the moment see any reason for subclassing data. The additions required do not replace or change any existing methods.
I would be interested to hear from anyone who could argue in favour of subclassing.
I wasn't intending to capture any information about the user. My instructions dont say anything about that.
I take 'booking a flight' to mean simply subtracting the number of seats they want to book from selected flight.