wood burning stoves*
The moose likes Struts and the fly likes Help needed in Design Decision Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Help needed in Design Decision" Watch "Help needed in Design Decision" New topic
Author

Help needed in Design Decision

Sam Codean
Ranch Hand

Joined: Feb 26, 2006
Posts: 194
Hi All,
I am not sure if this is the right forum for this question. Moderators please feel free to kick me to another forum if so.
The problem that i have is as follows
1. I have a Swing application that displays the data from a variety of servers (Logs and Utilization details), it plots chart based on this data.
2. The Swing app has two modes Reporting and On the fly.
3. There are agents on the Server machines which send the data from the server to the Middle tier which is a JBoss server.
4. There is a MySql Database which stores all these data sent by agent as well as do some work on them like consolidate the data for weekly, monthly, yearly etc.
5. In the Reporting mode the Appliation UI shows the data from the Consolidated tables to the user based on certain criteria that is sent (start time, end time, etc.)
6. In the On the fly mode the Middle tier has to give the most recent data that has come from the agents of various servers. without consolidation

Now the issue is that the Middle tier is still not implemented and i have to decide on how it is to be done. I have not worked much on the Middle Tier. I found that the simplest solution is to have a some servlets do this job on the JBoss. But since i have almost nil knowledge on this front please can someone suggest something in this regards?
Some people were saying it would be better to use Struts, but i thought struts works only with JSP pages. Please correct me if i am wrong.

Thanks in Advance,


-Sam Codean<br />SCJP 1.4 (98%)<br />SCJD 5.0 (87.5%)
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Moderators please feel free to kick me to another forum if so.
- Exactly. This is a Certification forum and your application has nothing to do with any SCJD project.

But where? Let's try Struts, because you are enquiring whether it is suitable for your project.
[ April 03, 2006: Message edited by: Barry Gaunt ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
Some people were saying it would be better to use Struts, but I thought struts works only with JSP pages.

You are basically correct. The main focus of the Struts framework is for building the presentation tier of web applications. While I am sure you could use presentation technology other than JSP, I don't see where Struts can help out a Swing based application.

EJB technology has been the standard J2EE business tier technology, but lately there seems to be a lot of focus on smaller frameworks such as Spring.

- Brent
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Help needed in Design Decision
 
Similar Threads
Newbie Question: Java EE vs Tomcat+Hibernate+Struts
Reporting and printing model
Proposed architecture
XML as data transfer mechanism
where to put validation code???