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.

General Features of JMS<br />

public String getAuthors()<br />

{<br />

return authors;<br />

}<br />

public float getPrice()<br />

{<br />

return price;<br />

}<br />

}<br />

/*<br />

* BolCustomer - customer type for BooksOnline example<br />

*<br />

*/<br />

import java.lang.*;<br />

import java.io.*;<br />

import java.util.*;<br />

public class BolCustomer implements Serializable<br />

{<br />

int custno;<br />

String custid;<br />

String name;<br />

String street;<br />

String city;<br />

String state;<br />

int zip;<br />

String country;<br />

public BolCustomer(int custno, String name)<br />

{<br />

this.custno = custno;<br />

this.name = name;<br />

}<br />

public BolCustomer(int custno, String custid, String name, String street,<br />

String city, String state, int zip, String country)<br />

{<br />

this.custno = custno;<br />

12-36 <strong>Oracle</strong>9i Application Developer’s Guide - <strong>Advanced</strong> <strong>Queuing</strong>

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

Saved successfully!

Ooh no, something went wrong!