Fat Client-Web based architecture design help ?????

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
FrameWorks
Client side
XXXView.Java(is the GUI layer) (where xxx is any module specific name)
          |
XXXWebHandle.java(this 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
xxxaction.java(this 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 XXXwebhandle.java
which then parses back the xml data and puts it on the GUI components of XXXview.java 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 .................is it possible????
can we send data back to client as java objects and if yes then how??.
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.
thanks
Jags

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
Okay. As an aside, you can 'fatten' up a standard web page with technologies such as Pushlets or Ajax.
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
IMO, you should take a look at Eclipse's SWT in addition to Java's Swing. SWT has outstanding performance and looks native. Struts is not a web server. Place that entry instead down in 'frameworks'. MySQL is a good database, but I prefer Postgres, which is also free and implements more of ANSI SQL.
FrameWorks
Place Struts here. Also consider using Spring on your server side. BTW, what is Struts doing other than acting as a Controller? Presumably your fat client is the View. No?
Client side
XXXView.Java(is the GUI layer) (where xxx is any
module specific name)
          |
XXXWebHandle.java(this 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.
Any thoughts of using either RMI, SOAP or JAXB since you will have Java objects on both ends of client and server?
Server Side
xxxaction.java(this 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 XXXwebhandle.java
which then parses back the xml data and puts it on
the GUI components of XXXview.java files.
So, a database exists. Fairly normal stuff there.
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.
Again, take a look at JAXB, SOAP and/or XMLBeans.
we need to remove XML .................is it
possible???? Yes
can we send data back to client as java objects and
if yes then how??.RMI + Java Serialization or JAXB/SOAP/XMLBeans.
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.
No, no no. Hashtable (and all Maps) have no type-safety. You can introduce lots of programming errors casting from Object to another type. It is far better to create an actual Java object that will hold the data. It seems to take more time, but you will have far fewer runtime errors in your application during development, which IMO, actually speeds up the process overall.
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
Hibernate and, to a lesser extent, JDO are popular now.
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.
Rapidly? Hard to say. I would steer clear of full blown J2EE with EJB's or MDB's if you want to speed up development. Ruby on Rails also generates some press for rapidly putting sites together.
thanks
JagsYou are welcome. Best of luck.
- Saish

Similar Messages

  • Architecture Design Help

    I am currently developing a web based authenication system. I have one ControllerServlet which gets all the requests (ending in *.do) and processes them to various jsp pages according to the actions.
    I am implementing the WAF (exactly the same as Pet Store application) minus the business logic. Also since each page in the page flow is different I am getting away from the templating concept.
    Now I looked at the Template module in the PetStore application (along with the templateServlet) I was wondering if I could really get away with it?
    Also since I have one index.jsp from where different flows branch off from the links. DO i have to map all these in the mappings.xml file??
    Please shoot ur suggestsion
    Krish

    So the template portion of the WAF can be separated and operate on its' own. It was really created to be a layer on top of WAF and it could be used on top of Struts for example.
    The mappings.xml is for the WAF controller. For the template and the TemplateServlet you use the screendeffintions_en_US.xml (for US English) file.

  • Fat Client and Thin Client

    Hello, everyone
    I am a newbie with websphere 5. I am wondering if anyone know fat clients(Swing GUI) work with websphere. I know thin clients(web-based interface) work with websphere. My scenario is like this and this is all experimental purposes:
    I want to program a Swing GUI interface as the client that accesses the enterprise javabeans that is installed on websphere. So the Swing GUI is the client and Websphere is the server, which makes it a 2-tier Application. My question is basically, does websphere only work with web-based application or does it work with both desktop application clients and web-based application clients also?
    Any Ideas?

    Thanks, that's the kinda of straight answer I am looking for. I have been researching for this answer to this question for a long time and even posted several similar questions on Java forum, but no one seemed to have a straight answer. What I was thinking of programming is:
    client/server program using websphere.
    Client:
    GUI interface using Swing that is just like a regular desktop application and not a web browser (I notice the most common application using websphere are web based applications like portals).
    Server:
    Using Websphere to accept connection when requested by the client and act as a bean container, which holds EJBs. The EJBs will connect to the database (mssql server) to pull data from.
    Does this sound OK and can this be done using Websphere? I am using Websphere 5.
    Thank you, I am just a newbie in j2ee, just trying to get started in this area of programming.

  • Building Web Based VoIP Phone using Flex

    Hi, all.
    I want to build a sip client web based using Adobe Flex. Anyone can tell me how I start?
    By the way, I use Asterisk as communication server.
    In other discussion, I find the google alchemy, but I still don't know what it is.
    Please your answer, all flex master.
    Thanks.

    I'll move this to off-topic since you've been correctly pointed to forums.asp.net.  I just want to mention that whatever that article was demonstrating is probably irrelevant in today's web development ecosystem.  For example, an event calendar
    is likely to be its own web control that you can just drop onto a web form (or otherwise instantiate in a web page).  I know of a couple retail components that can do it and there are probably free ones available too.  Even if you build your own
    it will likely be little more than an existing calendar control with perhaps some custom rendering code.
    Reed Kimble - "When you do things right, people won't be sure you've done anything at all"

  • Web based reporting engine integrated with APEX

    Hello,
    I would like to use some completely web-based reporting solution for my application. My idea is that I will create some datasource, prepare database query and publish some data columns to end users (datamodel). They will choose from many of prepared data areas, create their own report using some intuitive web-based report designer and save it. I do not need it for any analytic purposes, no dynamic filters, graphs and other widgets, no BI. It will be all only about building text based reports with few dynamic fields (customer address, actual date etc..).
    For example: User will prepare some document (template) with few paragraphs and add some of prepared dynamic fields into it (ie. company name, customer address, repeating table with list of employees, some image). Then he will be able to generate same document for many customers etc..
    I am looking for some simple, user friendly web based application. Some external report builder for example for Jasper reports is not what I am looking for.
    I will need to integrate it with  Oracle 11g XE with APEX 4.2 so some API or URL parameters is must.
    Used reporting engine does not be completely free, but I am able to pay max. $5000 for it
    Do you have some tips?
    Thank you

    This could be a solution for APEX reports (interactive reports). But I want to create more complex reports, not only table based reports.
    I need to create for example invoice report with some dynamic fields (customer, invoice items...), another report can be for example some contract about cooperation with some dynamic fields (contract number, personal information ...).
    These reports will be mostly only text based without any table. See example bellow. How would you generate this kind of letter?
    "Hello <CUSTOMER_NAME>, we would like to offer our new product <PRODUCT_NAME> to you..."
    Where CUSTOMER_NAME a PRODUCT_NAME are prepared fields (from some database tables). It will be something very similar to Microsoft Word automatic mailings. User can generate many text based reports and save them as PDF.
    I need to find some web based product, that will be simple for users and can be integrated with APEX.

  • Client/Server to Web-Based application Conversion

    Hi! Everyone,
    I have couple of questions for you guys.
    Our Client had recently upgraded Forms 4.5 to 6i to move from Client/Server based application to Web based application.
    They are using Forms Server 6i Patch Set 1, OAS 4.0.8.1, Windows NT Service Pack 5 and Oracle 7.3. They are facing the following error every now and then, when they run the forms,
    "FRM-92100: Your connection to the server was interrupted. This may be the result of a network error or a failure on the server.You will need to re-establish your session."
    Please let me know what might be causing the above error. The only problem i can think about might be Oracle 7.3. If i am right only Oracle 8 and above supports Forms 6i.
    Can anyone let me know some tips and/or techniques to upgrade Forms 4.5 to 6i. If there are any important settings/steps which we might have over looked during the upgrade, please list them.
    Any kind of help is greatly appreciated.
    Thanks,
    Jeevan Kallem
    [email protected]

    Most of the code is use with no changes at all.
    See otn.oracle.com/formsupgrade
    Regards
    Grant Ronald

  • Need help for the web based project

    I am using netbeans 5.5 and Sql server for db.What is the full form for DAO and how is it going to help me in my project.U also talk about uml want ot know about it.
    and how is it coming to help me.Its a very wast topic i serached.what will be helpful to me of the UML.
    What should i start first --- jsp or db design.
    What should i use for web based project --- only use jsp(presentation)+dao or jsp+servlet+dao.What would be best ?
    provide some nice link based on dynamic fetching of values from the database and showing it at runtime.
    Message was edited by:
    java@mani

    As stated in http://forum.java.sun.com/thread.jspa?threadID=5167752 start reading the Java EE tutorial to get insights in the material.
    what will be helpful to me of the UML.UML generally visualizes the core functionality. See http://www.google.com/search?q=uml+tutorial for some tuts.
    What should i start first --- jsp or db design.Start with both and end with the best balance between both.
    What should i use for web based project --- only use
    jsp(presentation)+dao or jsp+servlet+dao.Depends on the business needs. Generally 3-tier webapplications are the best: web, business and data.
    provide some nice link based on dynamic fetching of values from the
    database and showing it at runtime.Check some SQL and JDBC tutorials how to fetch and process the data:
    http://www.google.com/search?q=sql+tutorial
    http://www.google.com/search?q=jdbc+tutorial
    How to process it in the business and web layer is stated in the Java EE tutorial I've linked in your former topic.
    For applying the patterns, check the http://java.sun.com/blueprints/corej2eepatterns/

  • Web based authentication for wired client, Crendentials submission failure.

    Hi,
    I am trying to set up the functionnality "cisco web based authentication" for the wired clients.
    The problem i encountered is that my switch doesnt forward the client's password to the ACS.
    When the user validate his credentials on the login page only the login seems to be forwarded.
    The result of the command "show ip admission cache" always show the client in the init state.(i use the default cisco web login page).
    the connection between aaa servers and the switch is working.
    You will find in attachements the running-config and the debug file.
    Thanks for your help, any ideas are welcome :) (its t os version c3750e-ipbasek9-mz.150-2.SE7).

    Well i took a look on your documents but i didnt find anything that helped me ;S.
    I'm still stucked on the same step.

  • How to design a web based leave management application  using jsf n Spring

    I'm a beginner for spring and jsf technology. I have a requirement to design web based leave management module using jsf and spring. Im confused in the design phase itself and not clearly knowing how to classify the classes. I need to understand clearly on how to do class design, and wanted to use MVC design patterns. As i know jsf itself is MVC but, as i want to use spring, i need to have some kind of model files and bean files.
    I'm clear about the following 3 classes.
    Applicant
    Approver
    Leave
    this will be like applicant will apply for leave and approvar when he logs he will see list of applied leaves and he will approve / reject the same by selecting one or more rows from datatable.
    Please guide me on designing this or gimme some link where i can read about designing java classes for web based applications.
    Thanks for your time and help.

    Please guide me on designing this or gimme some link where i can read about designing java classes for web based applications.Sure:
    http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/

  • What is the best output page-level help for a thick/fat client software app

    I am looking to do some reorganizing of some help projects here at my new employer.  For the past 10 years, I have only been dealing with web-based apps so all my help has been web help... sometimes page-level, sometimes not.  However, I will need to now convert and/or create new help for a software app that is thick-client style.  I need to know what the optimum output format would be to work best for page-level, thick-client, online help... HELP!
    BTW.. I am currently using RH10 for Windows 7.
    Thanks,
    kb

    The best format depends on your client's situation. Do all client pc's have internet access and can you get a server to host the help? If so, I would go for WebHel/HTML5. That's the easiest to maintain and the client won't have to hassle with installing help.
    If you client doesn't have internet access or you don't have a server, a CHM is quite safe. It works well even though it is an old technology. But keep in mind that if the CHM is located on a network drive, it won't work unless the client is willing to change some security settings.
    Kind regards,
    Willam

  • How do I pick up the attachment from the client's machine, in a web-based

    Hi Friends,
    I just wanted some help from u all.
    How do I pick up the attachment from the client's machine, in a web-based email system?
    I have done a prog. where a file attachment can be done sitting on the server machine...but not on the client.
    Thank u .
    do mail me to [email protected]

    use the input type file tag in html page and get connected to some of your servlet and then open the streams to read the file byte by byte.

  • Getting SQL*Net more data from client waits when running a query through web based interface

    Hi, you all,
    We are having this weird behavior when running query through web based interface, we get a lot of "SQL*Net more data from client" waits, the OEM indicates that the current wait event is SQL*Net more data from client
    It's just a very simple query wich invokes a db link.
    When I execute the same query on any PL/SQL tool like toad or sql developer it works fine, but that query inside an application executed through a web based interface, it hangs for ever.
    Where can I start looking for the problem.
    We are working on a 3 Node RAC 11gr2, both databases are on the same RAC.
    Thanks.

    Hi ,
    we managed to reproduce the case in test environment, below are the steps:
    1)have 2 databases on different machines, will call the first one local, the other one remote.
    2)in the local database create:
    a - DBLink to remote database.
    b - read data from remote database(we simply used select count(*) from dummy_table )
    c - insert data into a table on the local database
    d - terminate the connection between the 2 databases (disconnect either machine from the network)
    e - commit on local database.
    what we noticed was the following:
    1)when the local database is disconnected from the network(the machine is not connected to any network at the moment): almost immediately throws an error, and issuing the following:
    select * from dba_2pc_pending;we found some data .
    2) when the remote database was disconnected(the local database is still connected to the network):
    after 7-8 seconds an error is thrown, and issuing the following:
    select * from dba_2pc_pending;did not return any data.
    since this is pretty similar to our case ,we concluded that it's a network issue.
    is this the correct behavior ?
    as a temporary solution till the network issue is fixed ,we did the following:
    1) changed the call of the remote procedure to calling a local procedure that calls the remote procedure.
    2) added pragma autonomous_transaction to the local procedure.
    3) at the end of the local procedure rollback the autonomous transaction.
    it seems that since the global transaction does not use the DBLink database does not issue a 2PC commit.
    this works in my cases since the DBLink is only issed to read data.

  • Good headless web-based torrent server/client solution?

    I have a headless server in my attic that I'm mingling with, and one of the things I'd really like to do is get a headless torrent solution going.  Web-based would be best for portability, but I surely wouldn't mind using a GUI app either!  SSH sessions (like rtorrent) and vnc options are something I want to completely avoid.  So far, I've tried Deluge, torrentflux-b4rt, and Azureus.  Deluge is super-buggy and crashes every time I try to do anything useful.  torrentflux-b4rt is awesome, but it's a little too heavy.  When I get a few torrents going, the webui starts to stutter and lag.  Azureus is what I'm messing with now, but the webui is extremely limited.  Are there any other options out there?

    I use the transmission client. Its got some bugs in it now though, but its in the repos as transmission-cli. Its pretty cool once you get past the lack of documentation. The man pages are pretty good, but thats about all you have to go on. Also, the web gui is broken in Arch.
    After reading about rTorrent, I might switch...
    Last edited by wsduvall (2009-02-14 17:17:18)

  • Convert LiveCycle Designer Filleable Form to Web-based Form??

    I have a fillable form that was created from scratch using LiveCycle Designer, and I'd like to convert it to a web-based form which I can then post on my website and email the link to others. Is it possible to convert a fillable form to a web-based form?

    No, you would have to recreate it in FormsCentral.

  • JMS architecture question for fat client/server.

    Hi. Is JMS suitable for fat client-server architecture where a certain number of fat client applications (like a few hundreds) open connections directly to the JMS provider? Is it going to have scalability problem when the number of connections grow?

    Depending on your JMS provider, this may be a very suitable architecture. The Sun MQ JMS Cluster was architected exactly for this problem. If the number of connections onto a single broker becomes too much of a burden for this broker, it can be put into an MQ cluster and share the number of connections. Of course, the number of connections a broker can handle will be totally dependent on the resources available to it. OS, CPU, memory, other applications running on the same machine, etc....
    TE

Maybe you are looking for

  • Cant add Windows accounts to staff or admin group

    cant add Windows accounts to staff or admin group I have one Mac pro workstation on a all windows network, its added to the domain. i can give network users administrative permissions on the pc by selecting allow user to administer this computer in t

  • Trouble downloading new tv shows to iPod Classic

    Am having trouble with my iPod Classic. Recently purchased new tv shows and successfully downloaded them to both my computer and iPad; but will not sync onto my iPod(although) there is more than even storage space available. Help!

  • New Desktop Software is asking for password - which I don't think I ever had now can't use phone either

         After downloading the new Desktop Software, it won't allow my BB Curve 8520 to connect w/o a password -  I do not believe I ever had a password on my desktop software and it is threatening to delete my data if I don't enter correct password ;;; 

  • Read from spreadsheet

    Hello, I'm having strange issues trying to read from the following spreadsheet file. I'm using a similar structure for 2 other spreadsheet files and they work perfectly. When I try and use the following VI with the attached data file it just seems to

  • I have a canon 50D and use CS4 extended.  I cannot open raw files.

    I have downloaded the Camera_Raw_5_7, but have been unsuccessful at getting it to work...?  Says could not complete request because of a program error???