Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Reading file and validate data issue

882656Aug 16 2011 — edited Aug 16 2011
Hey all !

I'm developing an application where I get info from a file and I have to validate the data. What I want is to improve performance. Now I'm thinking about using a PRODUCER-CONSUMER approach to improve performance, having 1 thread reading data from file and having 1 thread validating data.

What do you think? Is there a better approach on this kind of problem?

Thanks in advance :D

Comments

BluShadow

Moderator Note: @rranjith I've moved your post over to the Forms forum as it doesn't relate specifically to SQL and PL/SQL where you posted it.

Enable the Java Console and its tracing. Look closely at the output. Likely you should see why it is failing.
image.pngLook for entries like this:
basic: Loaded image: jar:http://<YOUR SERVER>/forms/java/my_icon.jar!<PATH TO IMAGE AND IMAGE FILE NAME>
If any part of that entry looks incorrect, correct it and retest.

RRanjith

@michael-ferrante-oracle I checked what you suggested. Still the issue is not resolved. Please help me to resolve it.

@rranjith I don't understand. What do you mean it didn't resolve the issue? Showing the console was not expected to resolve the problem. It is a diagnostic tool to help you find the problem. Copy the entire contents of the console to a text file then upload that text file to this thread.

RRanjith

@michael-ferrante-oracle Thanks for you reply Michael. Now Icons loaded in my application.

@rranjith In order to help others who may be experiencing a similar problem, please consider explaining what you did to identify them correct the issue.

User_Y6Y8Z

@rranjith please help ,, and share what u did i have same issue

@user-y6y8z

Read the thread and you will get your answer. You need to test like I described above to find the answer.

1 - 8
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 13 2011
Added on Aug 16 2011
2 comments
662 views