Solved

Data binding for JAVA APPLET

Posted on 2007-03-18
10
1,180 Views
Last Modified: 2013-12-14
- We have a complex JAVA applet.
 - Servlets are used for receiving and returning data from Applet.
 - Servlets contain XML data fetched from database.
 - We use hibernate for database connectivity.
 - Threads are used for GUI responsiveness
 - We use Netbeans 5.0
 - We use Apache Tomcat as the servlet container.

Problem : It takes a hell lot of time to add new features to the applet. Even adding a combo box and filling it with value received from database is a pain.

Question : What can we do in order to shorten the development time?
0
Comment
Question by:barisdur76
[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: 18744576
It depends on what development methodology you are following. If you are following the Waterfall model, you will take more development time. If you wanna reduce it, try the Sprint/ Agile mode.
0
 

Author Comment

by:barisdur76
ID: 18764558
The problem is
 1 - Our components are not data-aware.
 2 - Our application is not a desktop application but an applet, therefore it does not directly connect to database. That's why we use servlet+xml to receive data from DB.

As I said before this lengthens our development process too much. What are your advices?

0
 
LVL 2

Expert Comment

by:ucool
ID: 18764916
It looks like object/relational mistmatch, which cause n+1 selects problem. Suggests you use Hibernate which can solve this kind of problem, more about Hibernate can be found in http://www.hibernate.org/
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

Author Comment

by:barisdur76
ID: 18765177
UCool, We already use hibernate. But that's not the issue.
BTW I keep on searching through the internet.
I found jsr 296 might be of use. Still reading it.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 18768846
>> As I said before this lengthens our development process too much. What are your advices?

If your developers are skilled use the Agile mode of development.
0
 

Author Comment

by:barisdur76
ID: 18812303
As I said I kept on searching.
The solution is
  1 - Using SwingX of SwingLabs (Which is said to be data-aware, but the stated methods seem to lack in the real implementation)
  2 - Using SwingSet http://swingset.sourceforge.net/

The latter does not bind to xml actually (which was what i needed). But is data-aware using JDBC.
SwingX is said to be data-aware and stated that it can bind to
 - beans (hibernate, rmi, webservices)
 - xml
 - dataset (sql, csv, tsv)
But the available libraries i tested lacked of corresponding methods.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 18813131
If SwingSet is data aware using JDBC and you need XML, there are products available which can convert a JDBC ResultSet to XML:

http://www.jeckle.de/freeStuff/JDBC2XML/index.html

http://www.developer.com/db/article.php/3329001

Or code: http://www.rgagnon.com/javadetails/java-0511.html
0
 

Author Comment

by:barisdur76
ID: 18814255
Hi,
I want this question to be erased and no solution be excepted.
Thanks in advance,
Baris
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 19146355
PAQed with points refunded (350)

Computer101
EE Admin
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
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.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

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