Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About the application protocol

 
Leandro Cerencio
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers!

I'm new on JavaRanch, and I'm making the URLyBird assignment. The database is already done. And, I have some questions about the protocol of my application.
In my assignment, it was wrote that I have to serialize objects over connection. And, I thought Interpreter and/or Command patterns turn my application very extensible. Because of, I could put more commands or statements easily. However, the complexity will improve. I'd like to know if this sounds strange to other ranchers.

And sorry for any English mistake ....

Leandro
 
Nicholas Jordan
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not really, we do it all the time. Do not worry on the style of North American English, we have big discussions about that in Meaningless Drivel and it is mostly the code and your question we are interested in.

To answer your question, an extensible project is generally a useable project. To make that decision involves no more than thinking about what the project is supposed to do and where it is supposed to run. For a first design I would choose an extensible design. Probably look in OO/UML and Refactoring forum for further or deeper questions.
 
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 Leandro,

Another way of looking at it is that your Interpreter class may be a little more complex, but your other classes will become much less complex as a result. You could easily justify such a design in your documentation.

(And don't worry about your use of English - it is easily understandable).

Regards, Andrew
 
Leandro Cerencio
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the replies.

I will think more about how I design the protocol.

regards
Leandro
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic