• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

B&S: Web question

 
Jean Vilart
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In my assignment, there are a couple of statements that worries me (or at least confuses me). In the specs, they say that in the future B&S would like to use Web interfaces.

See quotes below:

In the future, Bodgitt and Scarper wants to move into Internet-based marketing, and hopes to be able to provide their services directly to customers over the web.


Initially, the system will support only the CSRs, although the hope is that this interim step will give them a starting point for migrating the system to the web. The IT director does not anticipate much reuse of the first Java technology system, but intends to use that system as a learning exercise before going on to a web based system.



I understand that in the case of the SCJD, I don't have to develop a web application. But, as "Internet" is mentionned twice in the assignment, I suppose that I should at least take this into consideration when I will develop the data layer and the business logic layer. And that I also need to explain my choices in the choices.txt file.

For those having this assignment, how did you justify your choices with respect to the future usage of the code (being migrated to a web application)?

Thanks in advance for any advice.
 
Anne Crace
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jean,

I suggest you get your hands on a copy of Andrew Monkhouse's book (SCJD with Java 5). It discusses this very issue, and ways of easily converting an app like ours to a web app. Look at the MVC design pattern, as well. Most web apps use some form of this, and many people on this forum use it for their projects, as well as Monkhouse's book!
 
paul seldon
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Andrew Monkhouse's book (SCJD with Java 5) but it doesn't seem
stating that. Of course, we can change the application into web using
webstart(jnlp) but the above personn is asking more specific clear answer not buy-the-book. I am still looking for the author's answer regarding web, but about 300 pages to go. MVC is nothing to do with better scalability toward the web direction. MVC is the design pattern for Client side.

Thanks -
 
Edwin Dalorzo
Ranch Hand
Posts: 961
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My recommendation for you in this regard is try to make you data and business layers independent from the UI layer. This way, in the future, you could reuse the data and business layer in the Web application and get rid of the desktop UI without much impact to the rest of your code.
 
paul seldon
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perfect!

But, with webstart(jnlp), it can be web-application without any single thought...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic