• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Architecture requirements

 
Duane Riech
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having trouble interpreting what Sun is requiring regarding the section "Overall Architecture" for the Flight Scheduling
assignment.
It indicates a "traditional client-server system" with network server functionality. Fine, I plan on using RMI.
It further requires that the program must be able to work in a non-networked mode, stating "the database and user interface run in the same VM and no networking is performed, and no sockets should be created".
The last part is what confuses me. How do you have a client-server relationship without use of Sockets? I've looked at several different
sources and there's always somekind of socket-type connection being made between the client and server.
What exactly am I missing?

Thanks in advance....
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

It further requires that the program must be able to work in a non-networked mode, stating "the database and user interface run in the same VM and no networking is performed, and no sockets should be created".
The last part is what confuses me. How do you have a client-server relationship without use of Sockets?

In non-networked mode, there is no server, and therefore no client-server relationship. You just have a client that connects to local database directly.
Eugene.
 
Duane Riech
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, in simple language, there is only one user
who can run the program at one time, a.k.a. a
standard, plain old, java application?
Also, in local mode no RMI classes would be used,
right???
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

So, in simple language, [in local mode -- my insert] there is only one user
who can run the program at one time, a.k.a. a
standard, plain old, java application?
Also, in local mode no RMI classes would be used,
right???

You got it.
Eugene.
[ February 27, 2003: Message edited by: Eugene Kononov ]
 
Max Habibi
town drunk
( and author)
Sheriff
Posts: 4118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The point here is the Sun doesn't want you to write an application that uses sockets in local mode. It shouldn't have to be stated, but there you go.
M
 
Jane Weil
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, it says "the program must allow the user to specify the location of the database"
How come a client user to specify the location of backend database. Anyway, we just have one databse db.db, does the user has any choice?
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

How come a client user to specify the location of backend database. Anyway, we just have one databse db.db, does the user has any choice?

My interpretation of this requirement is that the user should be able to specify the location of the database in local mode only. However, some other people here disagree.
Eugene.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic