Solved

Data binding for JAVA APPLET

Posted on 2007-03-18
10
1,184 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
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…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
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.

728 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