Fat client-web based application architecture Design Help????

Posted on 2006-03-23
Last Modified: 2012-05-05
Hellow experts

i have recently joined a java project
which is a fat client-web based application.
clients can work from any location or place using the internet
they will connect to the web server which will be provide the data
to the clients application

i am working on the improvement of architecture n design of the project
pls help me in deciding the best and the fastest way to develop this application further.

i am designing a framework based on my experience and
am also doing some research on whats latest which can accelerate
and improve the development process.
here's what i have and want to know what u think abt it.
pls suggest some new good frameworks if you are aware of.

Technologies to be used
Fat client front end :  Java Swings
Web server : Tomcat,Struts
Database : Mysql


Client side
XXXView.Java(is the GUI layer) (where xxx is any module specific name)
                   \/ java file will have the code to
connect to the webserver using the apache httpclient)
it will call a struts action file specifically
the data collected from the gui components will be transformed
into xml and sent to the struts action file.

Server Side
------------------------------------------------------ file will parse the xml data from client side
and save it to the datbase using jdbc statements
it will also retrive data and metadata from database using jdbc queries
and convert it into xml and send it back as http response to the
which then parses back the xml data and puts it on the GUI components of files.

THe Problems
1)  the conversion of database query resultset to xml at server and the xml back to fields data
takes a lot of time and is cumbersome to code as we need code the xml
defination pattern for every data exchange between server and client.

we need to remove XML it possible???? can we send data back to client as java objects.
2) right now we are making JDBC calls to mysql database using a common Utility class file
created for handling all kinds of  sql statements and return the data via a hashtable object.

We need to use a ORM tool here............dont know which to use and how to use.
heard of hibernate and EJB.pls suggest which  one to use

Overall i would appreciate if someone can suggest me good architecture.
is there any framework readily available for developing these kinda apps
pls guide or give me links where i can get info abt this.

Question by:Econify
    LVL 24

    Accepted Solution

    You might consider SPRING framework  (

    LVL 8

    Assisted Solution

    by:Leo Eikelman
    How are you building the xml from the result set?

    You should be using a DOM Document.  Take a look at this

    specifically, implementing the DOM API for Databases

    You will have no problem passing java objects between the server and client, if the client is a java client.  If you are going to do this and you are going to send XML then I suggest using XML Beans and send document objects.

    You can

    hope this helps,

    LVL 24

    Expert Comment

    OK for me.

    LVL 8

    Expert Comment

    by:Leo Eikelman
    thats fine

    LVL 24

    Expert Comment

    (:<]      ....  (:>}

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    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…
    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…
    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…
    Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

    745 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

    13 Experts available now in Live!

    Get 1:1 Help Now