09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

eturn quantity;<br />

}<br />

}<br />

/*<br />

* BolBook - book type for BooksOnline example<br />

*<br />

*/<br />

import java.lang.*;<br />

import java.io.*;<br />

import java.util.*;<br />

public class BolBook implements Serializable<br />

{<br />

String title;<br />

String authors;<br />

String isbn;<br />

float price;<br />

public BolBook(String title)<br />

{<br />

this.title = title;<br />

}<br />

General Features of JMS<br />

public BolBook(String title, String authors, String isbn, float price)<br />

{<br />

this.title = title;<br />

this.authors = authors;<br />

this.isbn = isbn;<br />

this.price = price;<br />

}<br />

public String getISBN()<br />

{<br />

return isbn;<br />

}<br />

public String getTitle()<br />

{<br />

return title;<br />

}<br />

Creating Applications Using JMS 12-35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!