-
Need to write to file from J2EE server (help!) (5 messages)
- Posted by: Per Arneng
- Posted on: September 27 2006 05:00 EDT
I have searched alot on forums on the topic but i have not found a solution to this problem. Is there a finished component or product that i can use to be able to write to file from an application server. I have seen news on the serverside about some component that enabled file writing but i could not find it afterwards. Thank you very much for any help since this is a big problem in our project.Threaded Messages (5)
- Re: Need to write to file from J2EE server (help!) by arijit dey on September 27 2006 06:46 EDT
- Re: Need to write to file from J2EE server (help!) by Per Arneng on September 27 2006 14:49 EDT
-
Re: Need to write to file from J2EE server (help!) by Serge Beaumont on September 28 2006 05:37 EDT
- Re: Need to write to file from J2EE server (help!) by Per Arneng on September 28 2006 04:07 EDT
-
Re: Need to write to file from J2EE server (help!) by Serge Beaumont on September 28 2006 05:37 EDT
- Re: Need to write to file from J2EE server (help!) by Per Arneng on September 27 2006 14:49 EDT
- Re: Need to write to file from J2EE server (help!) by Per Arneng on September 28 2006 16:55 EDT
-
Re: Need to write to file from J2EE server (help!)[ Go to top ]
- Posted by: arijit dey
- Posted on: September 27 2006 06:46 EDT
- in response to Per Arneng
Can you go a little further and provide, what type of application is it and what you really want to write! I will be happy to help cheers, http://javaicillusion.blogspot.com/ -
Re: Need to write to file from J2EE server (help!)[ Go to top ]
- Posted by: Per Arneng
- Posted on: September 27 2006 14:49 EDT
- in response to arijit dey
Can you go a little further and provide, what type of application is it and what you really want to write!
It is an application that generates reports from a datawarehouse. The reports are supposed to be stored on disk in the form of CSV format and they are pretty huge. The reason for storing them is for later retrieval.
I will be happy to help cheers,
http://javaicillusion.blogspot.com/ -
Re: Need to write to file from J2EE server (help!)[ Go to top ]
- Posted by: Serge Beaumont
- Posted on: September 28 2006 05:37 EDT
- in response to Per Arneng
You don't know the java.io library then? There are a whole bunch of classes that let you write out to a file, like FileOutputStream. This works just as well in an appserver. -
Re: Need to write to file from J2EE server (help!)[ Go to top ]
- Posted by: Per Arneng
- Posted on: September 28 2006 16:07 EDT
- in response to Serge Beaumont
Yes i know them but according to the j2ee spec as i have understood it is not allowed to write to file. You need some kind of JCA implementation to do this. -
Re: Need to write to file from J2EE server (help!)[ Go to top ]
- Posted by: Per Arneng
- Posted on: September 28 2006 16:55 EDT
- in response to Per Arneng
I found a project called "File Resource Adapter" which had a JCA compliant implementation and also a company called netmanaged had a product calld librados. The librados came with a JCA Adaptor with flat file support. Is this needed if i run in a J2EE environment or is it ok to use normal java.io ?