Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

FBN: Data Client Constructor

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I think about the design of FBN.
The data client should have the constructor of the network support
in FBN assignment.

There is the following descriptions in FBN Instruction.

--------------------------------------------------------------------------
To connect with your server, you should create a client program.
This implementation should include a class that implements the same public
methods as the suncertify.db.Data class, although it will need different
constructors to allow it to support the network configuration.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--------------------------------------------------------------------------


Now, My program is the following designs.

[ GUI -- Controller -- Data Client ]





DBAdapter and DBClient have all public method of Data class.
(DBAdapter is "Data Client" in FBN)

However, DBAdapter doesn't have the constructor for the network.
(It is not necessary in my design.)

It is GUIController the possession of this constructor.





I think my program don't meet a requirement.
Is there a problem in my design?
I want advice.

Regards,
Akira
 
The moustache of a titan! The ad of a flea:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic