• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

book record and release record in B&S

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I provided two functionality in GUI to book and release record .

Which methods of SUN Interface I should called when I am going to book record and release record from GUI ?


let me know .

thanks
 
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Pramod...

I am afraid your question is not clear enough. Can you explain your problem clearer and more directly?

Thanks.

[ December 25, 2008: Message edited by: Bod Toki ]
[ December 25, 2008: Message edited by: Bod Toki ]
 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi dude,

I believe that you don't have to call a specific method on the sun's interface. Those methods have the responsibility to manipulate the database.
To book the record you could have to following steps like :

1 - find ( calling find() method )
2 - update ( calling update() method )

Or you just have the position of the data in the file and just call

1 - update

Or even has a very complex process

1 - verify connection type
2 - remove record from memory
3 - update the gui
4 - verify data integrity
5 - update the record.


Well this is the way that I believe it is and my interpretation of your question.

Thanks
 
Ranch Hand
Posts: 759
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If the interface doesn't provide you the appropriate method, you can create your own interface that extends the interface provided by Sun and add the new method. That was how I had done in my URLyBird assignment.

Jeffry Kristianto Yanuar (Java Instructor) SCJP 5.0, SCJA, SCJD (UrlyBird 1.3.2)
 
Are you okay? You look a little big. Maybe this tiny ad will help:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic