Solved

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

Posted on 2004-09-23
10
273 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
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

Industry Leaders: 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!

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

726 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