Two Laptop Bag*
The moose likes Java in General and the fly likes Application Design thoughts.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Application Design thoughts.." Watch "Application Design thoughts.." New topic
Author

Application Design thoughts..

Dave Brown
Ranch Hand

Joined: Mar 08, 2005
Posts: 301
Hi all,

I wanted to bring this question up as I'd really just like to hear other peoples thoughts on the matter and to see how others would go about solving the issue.

Basically, there is an old windows legacy application, and the people behind it are looking at different possibilities for a re-write. It's basically a case management application which present the users with many different forms displaying different aspects of data, e.g. client managment etc. The more complex aspects of the application lie with it's integration with other tools. Document creation is based on a whole bunch of MS-Word templates, which a chosen template would be populated with data then a document would be saved and presented to the user for final adjustments in MS-Word with the filename being stored in the database. It's the document creation and the user bases reliance and preference for MS-Word that is the thorn in my side from suggesting the application could be re-written as a web based application. Which is what I would personally prefer to suggest over desktop java or .Net but I'm not so sure it would be easy/possible to do as a webapp.

I know, and often do generate PDF documents through my web-apps, and control layout etc using iText or since Grails has become my framework of choice, gsp's but that wouldn't satisfy the customer. They are so used to maintaining documents with Word that to suggest something else is a no no.

So I'm left with the possibility of creating documents in word which itself is not a problem but I cannot quite see how I could generate a document, allow the user to edit it... then track the changes and somehow upload the saved document back to the server..

Any thoughts on this would be greatly appreciated, 90% of the application would serve better as web app but these few complications have me at a roadblock so to speak.

Thanks


Regards, Dave Brown
SCJP 6 - [url]http://www.dbws.net/[/url] - Check out Grails Forum
Martin Vanyavchich
Ranch Hand

Joined: Sep 16, 2008
Posts: 241
If that's the only part that bothers you, you could make it as a jnlp, somewhat merging web and desktop application.


SCJP 6, OCMJD 6, OCPJWSD 6
I no good English.
Dave Brown
Ranch Hand

Joined: Mar 08, 2005
Posts: 301
Actually I had another thought.. I've been concentrating solely on the wrong aspect of the problem..

If I used WebDav on the server, a user/Word can open up documents from the WebDav repository and Save straight back to it..

And it just so happens there's a Grails Plugin already out there for WebDav support!

So this I think would be an ideal solution, security etc would need to be carefully looked at but in theory it's more promising than the other solutions I was thinking of.. i.e. word macros yek!.

If I get chance to put together a grails test, then i'll give some feedback on here.. I'm sure it's not so uncommon a requirement.
 
Consider Paul's rocket mass heater.
 
subject: Application Design thoughts..