Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

sairam sam

Greenhorn
+ Follow
since Apr 15, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sairam sam

Yes, its true scwcd has got more topics to cover then the scbcd...and from my personal opinion i find scwcd is more intersting then scbcd....
I personaly gained a lot in taking the scwcd exam...which i apply in my projects....

To cover the J2EE i think it would be better to go in steps...SCJP--->SCWCD-->
SCBCD--->SCEA...

And also depends on what area your currently working...its better to be master in wat your doing then looking at other things(nothing wrong)...

Sai.
SCJP,SCWCD, SCBCD (preparation )
Sham,
As Gregg said ur passing null value to the first parameter of the JOptionPane...
below is simple static method from my util class...which i use for the model dialog...on any module screens which basically extends the JPanel.

public static Frame findParentFrame(JPanel pan)
{
Component c = pan.getParent();
while(true)
{
if(c instanceof Frame)
return (Frame)c;
c = c.getParent();
}
}

Sai.
15 years ago
There should not be problem with the gridbaglayout....except its difficult to edit the screen layout...apart from that i dont see any issues...
can you please post your code...

if you have solved the issue pls, update...

note: I used the IRAD tool...


Sai.
15 years ago
When i asked, the SUN education center about it last week they said it will take at least 12 months...so next year this time or early you will see scbcd 1.4

Sai.
SCJCP 1.4,
SCWCD 1.4
SCBCD (preparation).
Can't wait any more so got the HFEJB book today....taking the exam on May 16th...till then
Any update on legal copy of PDF version!!!

Regards,
Sai.
William,
I can think of three solutions for your problem in high level, based on what you described.
Multiple request (A) coming in and only 1-3 or 1-n (B) thread to process the request and do validation to external DB (3-connection max) and then pass it to C (singleton) for further processing

1.MOM (message oriented middleware) like IBM MQ (cost involved in setting up)
If data is critical, data recovery, processing time should be less and robustness of app. You need to have 2 Q�s for doing your task�
2.Database: - mechanism is similar to above, but involves in db connection and purging of the processed data�defining the fields or having one field to hold the request data�there is some limitation on it�like 2 Q�s you need to table�
3.In memory and file storage (for data recovery purpose). I used this methodology to my current project (and other 2 in my previous projects).
I used Stack as in memory storage�with max of 15 msg�s and rest is written in file with time stamp to process in order�even stack msg is stored in file in different folder�for data recovery in case of system crash�Handling of this data is done when the system restarts�
Like B in your system�I have a thread job which process the stack msg first, then data from file�each msg is independent of other in my case�. thread (B) only does its job if there is msg in stack or file to be processed else it sleeps.
After every successful processing B moves the data to processed folder
I don�t have C processing object�but you can replicate the in-memory for C or just put every thing in file and let C do its job from file (time consuming then in memory)



If MQ is available then go for it�and the other 2 depends on the system requirement �if the data is going to be consistent or not going to change very often the DB is good�(response will be slow then in memory processing) but persistence wise its good then in-memory and file storage�.

Comments welcome�.

Sai,
SCJP 1.4
SCWCD 1.4
Important question....so remember
only HttpSessionActivationListener and HttpSessionBindingListener are not configured in web.xml....and ther rest of listener should be configured in web.xml....


Sai.
SCJP 1.4
SCWCD 1.4
Happy to announce!!! I passed the SCWCD 1.4 exam (84%) today� it took 3 weeks with minimum of 4 �5 hours of preparation every day�
Following for the few suggestion for future SCWCD exam takers
1.Concentrate on EL, how to use �.�,[] operator, how to use to use in custom tags and there implicit objects
2.JSTL 1.1 core tags, conditional and URL tags �download the JSTL 1.1 spec from sun
3.J2EE patterns -(take notes from prentic Core j2ee patterns best practices&design 2nd edition for those 5 patterns...) you will for sure able to answer the questions�its kind of straight forward
4.Servlets 2.4 spec from sun. Concentrate on listener class and there events. Requestdispatcher, illeagalstateException condition�
5.JSP2.0 spec from sun. Implicit object, syntax and some core API like pageContext
6.Simple /classic tags life cycle and there method return status value

Some thing new was ejb-env deployment tags�so browse through the ejb deployment tags�and be strong in deployment syntax�

Cheers,
Sai,
SCJP 1.4
SCWCD 1.4
SCBCD (preparation�)
SCWCD Exam study kit by Hanumant Deshmukh,Jignesh Malavia
Servlets 2.4 spec from sun
JSP 2.0 spec from sun
JSTL 1.1 spec from sun
tag files from java.net by Budi Kurniawan (part1 and part 2)
HFS&J (I heard its good but i never studied that...)
J2EE patterns (take notes from prentic Core j2ee patterns best practices&design 2nd edition for those 5 patterns listed in scwcd...)
Mock exam from whiz lab or enthuware

All the best for preparation
Sai,
SCJCP 1.4
SCWCD 1.4
SCBCD (next in line of preparation)