Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-09-23
10
Medium Priority
?
288 Views
Last Modified: 2012-08-13
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
Comment
Question by:keithedward
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 30

Expert Comment

by:Mayank S
ID: 12140711
0
 

Author Comment

by:keithedward
ID: 12150028
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 30

Expert Comment

by:Mayank S
ID: 12150047
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
 

Author Comment

by:keithedward
ID: 12156752
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
 
LVL 30

Expert Comment

by:Mayank S
ID: 12157544
>> ....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
 

Author Comment

by:keithedward
ID: 12169742
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
 
LVL 30

Expert Comment

by:Mayank S
ID: 12170058
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
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12446012
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question