This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes tx:All of URLy Bird 1.1.3 public method in Data class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "tx:All of URLy Bird 1.1.3 public method in Data class" Watch "tx:All of URLy Bird 1.1.3 public method in Data class" New topic
Author

tx:All of URLy Bird 1.1.3 public method in Data class

liqun chang
Ranch Hand

Joined: Nov 20, 2003
Posts: 90
Hi:George and Andrew
I have finished my Data class and test it run better.
my question is :
I create DataSchema class and get the metadata of the database.and i put this in Data class.I also create ServicesImpl class for booking and searching.
whether i can create public method in Data class(public DataSchema getDataSchema())and used in ServicesImpl? also in Data class,whether i can create myself public method but the methods that sun provides?
please give me some suggestions.
Philippe Maquet
Bartender

Joined: Jun 02, 2003
Posts: 1872
Hi liqun,
whether i can create public method in Data class(public DataSchema getDataSchema())and used in ServicesImpl? also in Data class,whether i can create myself public method but the methods that sun provides?

You can do both. Data must implement the provided interface, but nothing prevent you to implement other public methods in Data.
Regards,
Phil.
 
Don't get me started about those stupid light bulbs.
 
subject: tx:All of URLy Bird 1.1.3 public method in Data class
 
Similar Threads
nx:All of URLy Bird1.1.3 about record lock
NX: UrlyBird data file format question
All of URLy Bird 1.1.3 how to use the same GUI and Data in alone or netword client
Design of data access layer - please comment on
NX: exposing the MetaData to the client