Praveen Garimella

Greenhorn
+ Follow
since Jul 17, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Praveen Garimella

Hi,
I'm looking for a java api or open source components which can convert a word document into a PDF. I have an application where the users upload word documents and the upload servlet should be able to convert this word document into PDF.
Any one out there to help me out!
Praveen
21 years ago
Mike,
Once you get hold of the input stream you have the flexibility of processing the records in memory or on the disk, this depends on the size of the file. If it is a huge file to be processed then serialize it. If its a tiny file then dont serialize it.
But serializing the file on the server is transperent for the client. I dont think there is a way for u'r client to know wheather you are serializing the file or processing it in the memory. Please take care of checking the file size thought, people can fill up you memory by uploading large files
21 years ago
Hi Chris Brat
I feel MVC architecture fits the web application scenario as it offers maintainability of the web applications. This is because large web applications are really difficult to maintain. For me one of the best frameworks for MVC is the struts framework. I learnt it really quickly by just going through a reference application like JPetStore. Check out the links below which my help you in learning struts.JPetStore
Dont forget to check out the presentations in this site, they give you good information on architectures of applications and also a comparision of .NET architecture with J2EE Architecture.
I'm currently using Struts along with Java Server Faces which is similar to web forms in .NET.
Praveen
21 years ago
Steve,
There is a way of getting the HttpSession Object using the getSession(java.lang.String sessionID) method of the HttpSessionContext interface. You can also get the list of all session IDs using the getIDs method of the HttpSessionInterface.
But these methods are deprecated in the Servlet 2.1 API and would be removed from the future versions of Servlet API.
Cheers
Praveen
21 years ago
Please send the table descirptions i.e., using desc table1 and desc table2. And can we also know the mysql version you are using?