Solved

Data binding for JAVA APPLET

Posted on 2007-03-18
10
1,168 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
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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
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 covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

863 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

22 Experts available now in Live!

Get 1:1 Help Now