?
Solved

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

Posted on 2004-09-23
10
Medium Priority
?
278 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
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.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month9 days, 3 hours left to enroll

764 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