• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 297
  • Last Modified:

Need some simple, "hello world" examples of swing client/middle tier/database....

Hello Wise Person,

I want to develop a thin swing client with a middle tier that in turn interacts with a database (master detail, insert/update/delete).....

Does anyone have some fairly simple, bite site, "hello world" examples that demonstrate a swing client/middle tier/DB?

How does the client talk to the middle tier? via xml, jdbc, etc???

Would you use EJB's, how?

If the client pulls a dataset, and displays it for update, BUT then the database updates the row that the client has (say via another client), how do you handle this?

Thanks,
Keith
0
keithedward
Asked:
keithedward
1 Solution
 
Mayank SAssociate Director - Product EngineeringCommented:
0
 
keithedwardAuthor Commented:
Thanks, but you guys pretty much gave me the individual components  -I need see how it is pulled altogether --I need a simple,  working example of a swing client, middle tier (servlet that is accessed via rmi/xml???), which in turn interacts with a database....

There has got to be a  complete start to finish example how to create a simple 3 tier database application!?!?!?!?

Keith
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Mayank SAssociate Director - Product EngineeringCommented:
Its against EE rules to post full code just like that. Moreover, what you're asking for would need long code because you want to see the whole stuff. Try these (lots of examples):

http://java.sun.com/developer/technicalArticles/ebeans/EJB20CMP/

http://dev2dev.bea.com/codelibrary/code/examples_ejb20.jsp

http://www.weblogic.com/docs51/examples/ejb/Package-examples.ejb.html

http://www.openejb.org/hello-world.html
0
 
keithedwardAuthor Commented:
Horse hockey....It is against EE rules to provide URL's of websites that have a working example/code of a swing client  in three tiers?!?!?!?!?!?

anyways, I found some answers....

http://javaboutique.internet.com/tutorials/Swing2/
http://javaboutique.internet.com/tutorials/Axis2/index.html
http://www.bs-factory.org/index.shtml
0
 
Mayank SAssociate Director - Product EngineeringCommented:
>> ....It is against EE rules to provide URL's of websites that have a working example/code of a swing client  in three tiers?!?!?!?!?!?

I didn't say that. I said its against rules to post full code, but of course, we can post URLs/ links to it, which is what I've done in my posts.
0
 
keithedwardAuthor Commented:
no... You didn't provide me what I ask....

This is more what I was asking for :

http://docs.sun.com/source/817-5554/2_intro.html#pgfId-1003628
0
 
Mayank SAssociate Director - Product EngineeringCommented:
I thought those links had complete code samples. That's what I could see on them. If you needed anything more, then I'm not sure..
0
 
moduloCommented:
PAQed, with points refunded (125)

modulo
Community Support Moderator
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now