shibaram sahoo

Greenhorn
+ Follow
since Sep 21, 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 shibaram sahoo

which version of POI you are using ?
I have also a similar kind of confusion in my mind..
Please help me out..

Interface is a contract. (I agree)
Interface are means to be used to create generic behaviours (methods) and attributes (variables), so that implementor classes will get through inheritance. (I agree and believe on this)

But my confusion is that, If I my classes gonna get an attribute from an interface, then I can not modify it as per my class requirement.


So why do have all the variables are by default public static final ?
Isn't it would have better like if just public / protected variables (no static)

Then I could have easily get the color through inheritance and whenever I want to change color of my car I could have done that easily..

what do you say..

why do have all the variables are by default public static final, then ?
13 years ago
I have also a similar kind of confusion in my mind..
Please help me out..

Interface is a contract. (I agree)
Interface are means to be used to create generic behaviours (methods) and attributes (variables), so that implementor classes will get through inheritance. (I agree and believe on this)

But my confusion is that, If I my classes gonna get an attribute from an interface, then I can not modify it as per my class requirement.


So why do have all the variables are by default public static final ?
Isn't it would have better like if just public / protected variables (no static)

Then I could have easily get the color through inheritance and whenever I want to change color of my car I could have done that easily..

what do you say..

why do have all the variables are by default public static final, then ?

[ August 29, 2008: Message edited by: shibaram sahoo ]
[ August 29, 2008: Message edited by: shibaram sahoo ]
13 years ago
Thanks a lot Christophe .

The points you have mentioned in points #1 and #2, are actually my faults. That i mistakenly did. But now I rectified those.

But Actually I had tried the Point#3 way before.. of loading the config file named "sched.xml". But was getting some exceptions.

Also I tried again the way You said here..
But i am getting exceptions as below:



Now do i need to add any jar related to org.apache.commons.collections.SetUtils..


THanks again for a warm response.
I have created a sample application/ example for Scheduler / Scheduling using Quartz way in Spring. But I am not able to get the desired output.. the scheduler actually not getting called..

I also refered James Goodwill's A_simple_quartz_spring_example. But there inside the main method he have used some code like this as below..



I didnt get, what thisLookupFactory.getInstance(); method is doing and how to configure that.


Below are my setup and codes..

The Package Structure and Jars I have used is:



And below are the actual files i have used:

1. My Spring config file named (sched.xml) is:



2. Interface IMyJob.java




3. MyJobImpl.java




4. MyJobHandler.java



5. ExampleJob.java



6. my Main Execution Class named DoMyJobApp.java




Currently Output I am getting is:


Before Scheduler starts....

Gettting bean...
From MyJobImpl:: Have a great day !!

After Scheduler starts....



Problem i am facing is that Scheduler is neither executing the executeInternal() method from MyJobHandler class (as it should due to org.springframework.scheduling.quartz.JobDetailBean as set in sched.xml) nor its executing doForMe() from ExampleJob class (as it should due to org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean as set in sched.xml).

Please suggest me what configurations need to change.. and how exactly to load the config file and make the Scheduler run successfully.
[ September 04, 2007: Message edited by: shibaram sahoo ]
Hi,

Previously I was also in a deliemma to go for SCJP1.4 or SCJP 5.
But after few suggestions and self analysis, I landed in the result to opt for SCJP 5..

becoz SCJP 5 is after all is the TIGER version in the JAVAWORLD.
And it is a revolution again in the javafield..

Thats why I am preparing for SCJP 5.
[ June 05, 2006: Message edited by: shibaram sahoo ]
Thanks Sandeep!!
I will check that Computer Hut on saturday..
so howz is ur preparation goin on ?
contact me at: mspsahoo@gmail.com
Hi,
I have not purchased any voucher yet!!
But you can get it through any Niit center..
or follow these addresses..

Java Certification centers in Pune
----------------------------------
NIIT LTD
PUNE, Maharashtra 411001
Phone: 091-020-56204316 Site Code: IID AURORA TOWERS EAST WING
4TH FLOOR M. G. ROAD CAMP


SEED INFOTECH PVT LTD
PUNE, Maharashtra 411004
Phone: 56016411 /12/13 Site Code: IIF64 42/16. ERANDWANA, 'PANCHSHEEL'
INCOME TAX LANE,OFF KARVE ROAD

DSK INFOTECH PVT LTD
PUNE, Maharashtra 411005
Phone: 5512394 Site Code: IIF65 FIRST FLOOR, DSK GANDHARVA HEIGHTS,
NEAR RAHUL THEATRE, SHIVAJINAGAR


MERCURY SYSTEMS
PUNE, Maharashtra 411002
Phone: 56232321 Site Code: IIG49 OFFICES 5-14 SADGURU PRASAD CO
578/2 BUDHWAR PETH,
BEHIND SHANIWAR WADA
OPP VASANT THEATRE


SQL STAR INTERNATIONL LTD
PUNE, Maharashtra 411001
Phone: 20121104 Site Code: IIU5 2ND FLOOR, MITTAL COURT,
A-WING, RASTA PETH
OFF.AMBEDKAR ROAD

Better you verify by asking them..
these are registered centers with Prometric
Hi Sandeep,

Thanks a lot!
But are you sure this is the 1.5 scjp book by K&B only available there ??
Hi all,

Could any one tell where to get K&B 1.5 SCJP book in Pune in India.
I have visited the ABC in Pune but no shops have the lattest book with them.

Is there any body knows the right address for the book.

Please suggest the right approach for the 1.5 exam.
Planning to appear in April is the time duration is sufficient?

Thanks
Shiv
Hi,
But U know thats my real name and I have updated with a title as u said.

Thanks
[ March 08, 2006: Message edited by: shibaram sahoo ]
But you know, I have changed my mind that to appear 1.5 certification instead of 1.4.

Reason is my company does not no more providing us the reimburssment fees for the 1.4 exam.

So i will go for 1.5.

Now can u suggest how long it will take for a sincere try for the 1.5 exam ?

Thanks
shiv
Thanks Naresh
for ur great help giving right information.


Thanks a lot!!

Hi Great scorers,

I do need your advice from you great scorers!!

I had completed SCJP by K&B. sometime 8 months back..
Now overlooking that book will remind me in all details.

So should I go for Khalid Mughal book for detail study now ?
Or should practice some questions?

Please suggest! Planning to appear the 1.4 SCJP exam in April 1st week in Pune, India.

Thanks
Shiv
[ March 03, 2006: Message edited by: Shibaram ]
Also can any one suggest that should we go for whizlab's mock tests by paying for it fully ?
Or is it enough to practice the books and free mock exams questions ?