Solved

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

Posted on 2004-09-23
10
242 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
10 Comments
 
LVL 6

Expert Comment

by:CodingExperts
Comment Utility
0
 
LVL 30

Expert Comment

by:mayankeagle
Comment Utility
0
 

Author Comment

by:keithedward
Comment Utility
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
 
LVL 30

Expert Comment

by:mayankeagle
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:keithedward
Comment Utility
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:mayankeagle
Comment Utility
>> ....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
Comment Utility
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:mayankeagle
Comment Utility
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
Comment Utility
PAQed, with points refunded (125)

modulo
Community Support Moderator
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
bunnyEars challenge 6 62
count7 challenge 12 67
Problem to start Neon 20 49
java 8 lambda expresssions exception handling 3 34
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
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 …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now