• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Viewer  RSS feed

 
Tapan Agarwal
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a web application that basically retrieves insurance related documents from the database.
These documents are mostly in pdf,tiff,jpeg,modca,docx....etc format.
Is there any open source JAVA Viewer available that can be integrated with the web application.
The viewer must be flexible enough to open files of varying format.

Thanks in Advance
 
Les Morgan
Rancher
Posts: 779
19
C++ Java MySQL Database Netbeans IDE Oracle Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have an interesting request because it is not of a finite set of formats to cover, the "...etc format" makes it impossible to give you a recommendation.

Do you have a current application that will open "pdf,tiff,jpeg,modca,docx....etc format" documents, if you do, then I suggest you use it. Check and see if it has the ability to launch with an argument list for the file for it to load and there you go, but unless you have more functionality, other then the viewer in mined, I don't see getting a Java project out of it.

Now for the finite set: I know you can open PDF and JPeg files in java using the ImageIO. I have opened TIFF's using JAI.

So there are 3 out of your infinite request, best of luck with the rest.
 
Ron McLeod
Bartender
Posts: 1602
232
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tapan Agarwal wrote:... Is there any open source JAVA Viewer available that can be integrated with the web application. ...

It is unclear (to me) whether are you looking for something which runs on the server-side (Java) or the client-side (probably not Java). If it is on the server-side, what format would you be sending to the client (assuming a browser)?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66306
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java in the browser is, for all intents, dead. Why not let the user's browser media settings handle this as intended?
 
Tapan Agarwal
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Les Morgan wrote:You have an interesting request because it is not of a finite set of formats to cover, the "...etc format" makes it impossible to give you a recommendation.

Do you have a current application that will open "pdf,tiff,jpeg,modca,docx....etc format" documents, if you do, then I suggest you use it. Check and see if it has the ability to launch with an argument list for the file for it to load and there you go, but unless you have more functionality, other then the viewer in mined, I don't see getting a Java project out of it.

Now for the finite set: I know you can open PDF and JPeg files in java using the ImageIO. I have opened TIFF's using JAI.

So there are 3 out of your infinite request, best of luck with the rest.




Thanks for the suggestion Les.
Currently we do not any Generic application that can open documents of varying formats.
The thing is we have a database called IBM Content Manager which is used to store all Insurance related documents of varying formats and we are not allowed to save the production related documents in our local system due to security reasons. Had it been allowed we could have saved it in our local system and then based on format we could use appropriate application to open it.
That is why I was looking for a viewer using which we can open documents without having to save it.
However pdf,jpeg and tiff contributes to almost 60% of our documents and the viewers suggested by you can help me get started now.


Thanks
 
Tapan Agarwal
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ron McLeod wrote:
It is unclear (to me) whether are you looking for something which runs on the server-side (Java) or the client-side (probably not Java). If it is on the server-side, what format would you be sending to the client (assuming a browser)?



Hi Ron,
This would be on the Java side like a jar which can be used to open documents.
Currently we do have some jars for opening specific documents but those are all third party jars and not a freeware.
We cannot use the same jars due to licencing and other issues ;).
So I was checking if there is any freeware tools available that can be integrated in my web applications for opening documents.


Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66306
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are not going to be able to view documents on the local systems without sending them there, no matter what you use to view them. Something running on the server is not going to be able to display them on the client.

Who are the customers? Internal? Can you force them to enable Java applets? They are usually disabled by default as they are considered obsolete and insecure.

Perhaps what you need is a fat client that displays the documents and never saves them to disk (rather than using a browser).
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!