Hi.
While I'm not sure if this forum is suitable, but here is my question.
I have a
J2EE reservation system (EJBs,
Servlets) .
In order to check if the customer has good credit, my application talkes to another application via web services.
This web services application uses a database.
Tis database contains a table called PRIVATE_DATA , this table
contains : customer_id , credit_card_id , amount_of_money
When the customer makes a reservation, the application subtracts the value of the ticket from amount_of_money field.
Here are my question :
1. In a real world application, when a user booked a ticket from my organization and used his -lets say- Master Card credit card, How my company will get its money ?
Would you tell more about this process ?
2. In order to dilever the ticket to the customer, I created a small component, this component extracts the required data from the database, converts it to XML and then use XSLT to transform this XML data to a HTML file -this HTML file shows my logo and other specific things- , then
the application prints out this HTML document.
What do you think of this approach ?
Do you suggest another ways ? What do real applications use ?
3. In the case if I have a
Java swing application deployed by JNLP, and this application uses EJB, should I package EJBs classes with JWS jar file ?