• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

server design !!!

 
hassan kalaldeh
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everyone ,

im now in designing phase for Server (Data class is done ) , but there are a lot of things came to my mind while thinking about server design

i know that server is middle lier between clints and DB , so clients can not interacting direclty with DB . and it's responsible for networking and connections .

the thing is;server is the lier who is responsible for my business logic , am i right ?

but what do we mean by business logic !! for example book a contractor considered a main function in business logic ,but what about update method from DB ? its used in book function , but is it a function my server should support ??


im not sure what my sever should be , do i use lock,unlock to implement other methods from DB and provide them in server , for example...

given update from DBAccess:
public void updateRecord(long recNo, String[] data, long lockCookie) throws RecordNotFoundException, SecurityException;

update in server should be like this? :
public void updateRecord(Record record)throws RecordNotFoundException, SecurityException;

i know this sound

so dudes , all ideas will be useful
[ December 22, 2005: Message edited by: hassan kalaldeh ]
 
jiju ka
Ranch Hand
Posts: 308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

hassan kalaldeh wrote: so dudes , all ideas will be useful


Is this wordings allowed in this community? If each poster could be natural and not typecast others to their selfish imagination, the community would prosper; else decline.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jiju,

I assume you are objecting to the "dudes"? If so, then my usual interpretation of that term is as per 3b of this definition (note that 3b is the only one for dudes in the plural). Same as guy (singular) usually means a man, but guys plural means "Persons of either sex". As such, I personally don't have a problem with it. But I will mention it to the other moderators.

Regards, Andrew
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi hassan,
the thing is;server is the lier who is responsible for my business logic , am i right ?
Umm, maybe?

Take a look at the topic "Should lock methods be callable by the client" - in that we discuss what should be on the server and what should be in the client. And you will probably notice that not only is opinion divided about what goes where, but more importantly that you can pass no matter which way you go.

Regards, Andrew
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems that in the US at least, "dude" is increasingly a gender-neutral term. I've even heard women address another woman as "dude" (singular). I wouldn't worry about it. But in case anyone is wondering, there certainly are female programmers who frequent JavaRanch, and I hope they will continue to feel welcome.
[ December 22, 2005: Message edited by: Jim Yingst ]
 
hassan kalaldeh
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all ,

Jiju , does "dudes" word bother you !! if so , no more dudes any more , but really sorry if you get it wrong

thanks Andrew for "Should lock methods be callable by the client" topic , its really very interested discussion , and i think 'Vlad Rabkin' first two replys make me feel he is absolutely right about server desgin , but im still want to read all ideas first
 
Tim Holloway
Saloon Keeper
Posts: 18367
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In this part of the world, "dude" has been a (more or less) respectful address for a software developer for at least a decade now. Don't know about gender-neutral, as "dudette" is common on the local radio shows, but that's a tongue-in-cheek term anyway.

If there are, um, "dudettes" who find the term offensive, I invite them to commit whatever sort of battery against the poster they find appropriate and move on. Life's stressful enough without having to spend the whole day everyday walking on eggshells.

Myself, I'm more offended by all the "i"s. That isn't English, unless you're archie & mehitabel.
 
Angela Poynton
Ranch Hand
Posts: 3143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would rather be called a "Dude" than a "Dudette" or some other patroising equivilent.
"Dude" always has been gender nuteral in my mind, and these days many terms that once only referred to males also refer to females.
for instance, it is no longer considered Politically Correct to refer to a female Stand up Comedian as a "Comedienne", she is a Comedian or a Comic, just like the guys who do exactly the same thing.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic