This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi All! I've a J2EE app (Servlets, Ejb ecc) with a web interface. The client has requested a Swing as application interface. The problem is that this appl. uses hardly the creation,saving and visualizzation of pdf, word and excel documents. What is the best way to adopt from the Swing point of view? Thanks a lot in advance!
Does this mean it does very little or very much PDF/Word/Excel handling? But either way, I don't understand what the problem is. Handling files on Java is the same whether you do on the client or on the server (the way of storing them would be different, of course).
What is the rationale behind the move to Swing? If EJBs are involved, then it still would not be a standalone, but a networked application, correct?
You would also need to consider whether you'd still be using servlets, and have the the business logic run on the server, or if that should be part of the Swing client as well.
Hi Ulf! 1. The application does very much PDF/Word/Excel handling.
2. The problem is: to visualizze this types of files from the swing application (for example clicking a JButton), I need to call Microsoft Word or Microsoft Excel or Acrobat Reader ecc. How to do this? Thanx again!
True. Why bother with swing if everything is working and in places? but anyhow if you want to open any file from inside java using the default installed program according to their kinds(pdf, htm, txt etc), try this
Joined: Mar 22, 2005
Please don't post the same question to several forums, like you have done here. It leads to duplicate efforts, and you're not actually widening your readership, since everyone here reads multiple forums.
Joined: Jul 26, 2005
Excuse me Ulf, You are right. This is the right plase for my argument, but before I wrongly have post to the other forum Thanks!
Joined: Jul 26, 2005
Thank You Ben! I have proved Your solution and it work well, but I'm not sure it work well in every situation, for example in a Java WebStart context. Thank You.