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 Distributed Java and the fly likes connecting a pc 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 » Java » Distributed Java
Bookmark "connecting a pc" Watch "connecting a pc" New topic
Author

connecting a pc

Mohamed Jeleel
Greenhorn

Joined: Mar 22, 2010
Posts: 18
Hi all.

I am creating a small desktop accounting project.
If a sales order is made by the store department I need to send that sales order to the sales invoice department.
How can i send that to the sales invoice department from store department.
store department and sales invoice department are connected through network.

I am not using a application server.

thanks
Mohamed Jeleel
Greenhorn

Joined: Mar 22, 2010
Posts: 18
is anybody there to solve this design
Vivek Moyal
Ranch Hand

Joined: Nov 02, 2009
Posts: 57
I think it can be done through the database when you made any sell order that time you can fire a query for sending the relative information to the other department and if you both are using same database than other store can access it and get the information

Mohamed Jeleel
Greenhorn

Joined: Mar 22, 2010
Posts: 18
I think it can be done through the database when you made any sell order that time you can fire a query for sending the relative information to the other department and if you both are using same database than other store can access it and get the information


correct. But I need to send some you know notification or something that a sales order has been made.
Vivek Moyal
Ranch Hand

Joined: Nov 02, 2009
Posts: 57
I fyou can try than do one thing that after every 5 min or say 1 min establish your connection with the databse like what we have in our yahoo accounts when we got any mail there is inbox(1) like this than he got know or you can try like a popup window whenever you made a sale than a pop will show on the department screen that you have done a sales
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: connecting a pc
 
Similar Threads
Hibernate .hbm.xml - Referential Integrity constraint
Discount vouchers
how to create retail invoice software using jsp or html?
Illegal to call this method from injected, managed EntityManager
very strange