All Questions
7 questions
1
vote
1
answer
206
views
Best way to merge files in java [closed]
I have a task to merge set of files and each file contains words ( separated by new line ). Files contains words in sorted order. Once merged all the files, it needs to preserve the sorted order. ...
0
votes
0
answers
346
views
Best way to reduce memory consumption on persisting Java objects
Let's say I have an application that maintains relationships between objects - think of a parent-child relationship tree. The lineage of these objects are critical, so maintaining references from ...
-3
votes
1
answer
339
views
What are the pros and cons of using a named binary format as opposed to an unnamed one?
I'm curious to know are there any advantages or disadvantages to creating a named binary format as opposed to an unnamed one? I can only think of a increase in the required disk space.
Roughly ...
3
votes
3
answers
4k
views
Java application - How to optimize database calls and space & time which is more important?
I am writing a simple Java app to run weekly. The app need call database to get data, check it and update.
The flow I need is little as following:
select configure,orgID where status=true from orgs; ...
1
vote
1
answer
238
views
«Heavy» object initialization: within each thread or outside and then pass it to the threads as parameter?
Let say there is an array of strings, I have to process. I'm using a «heavy» third-part object which gets the string and performs its analysis. In order to optimize a performance, I create a number of ...
5
votes
4
answers
4k
views
JSF for an internet facing, high traffic web application
I, perhaps, made a wrong choice of going with a Component-based Framework like JSF for an internet facing, high traffic web application.
Development with JSF has although been easier but what I fear ...
3
votes
4
answers
13k
views
Exporting huge data into XLS in a web application [closed]
I am developing a web application in Java/J2EE, in which I have export functionality.
I have used Jasper for the same. The issue is when trying to export a huge set of data it is consuming a lot of ...