Navaneetha krishnan

Greenhorn
+ Follow
since Sep 21, 2004
Merit badge: grant badges
For More
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 Navaneetha krishnan

Hi,
As mentioned in the blog entry - http://blogs.oracle.com/certification/entry/0596 - there are some changes in the exam code, timing, question pattern etc. However, the objectives of the exam remains the same. You can refer to the blog for more details.

-- Navaneeth
There is no need to copy the remote interface to the client side. You have to use 'rmic' to generate client stubs and remote skeletons. Only after generating the stubs you should start coding the client part.

Example:
c:\rmic example.hello.Server
15 years ago
Hi,

I tried to process a huge volume (50 to 100 messages per sec) of messages. I am using jBoss as JMS provider. I am using 3 separate queues to process incoming data and to send response back.

I have the following code in constructor of message producer class:


I try to use this queueSession (qSesn) for every message. But I get the following error:
"The session is closed"

Then i tried by initializing qProducer. Later I got this error:
"The message producer is closed"

Has anyone faced similar issue? Am i doing anything wrong? Please clarify.

Thanks & Regards,
Navanee
I also faced similar ClassCastException. It got resolved somehow. I am not sure what I did. You can try adding relevant jars - jms.jar,
jbossall-client.jar [I am using jBoss as JMS provider]

Also, make sure that jndi properties are set properly.



-- Navanee
Guys,

I tried a lot of combinations and I found out the solution myself!! Thought of sharing the same for someone who might hit at a similar error. I removed the unused jar file entries from the jnlp file and modified the jnlp like this:

<resources>
<j2se version="1.3+"/>
<jar href="test.jar"/>
<jar href="plugins/org.eclipse.swt.win32.win32.x86_3.1.1.jar" />
</resources>

<resources os="Windows">
<nativelib href="plugins/org.eclipse.swt.win32.win32.x86_3.1.1.jar"/>
</resources>



This worked without any issue. I am still not sure how this worked. But it is working

Thanks for the support.
17 years ago
Friends,

I have a simple SWT application (helloworld appln). I tried to make use of Java Web start for that application. I wrote a .jnlp file and when i execute it, it throws the following error:

java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Composite

at java.lang.Class.getDeclaredMethods0(Native Method)

at java.lang.Class.privateGetDeclaredMethods(Unknown Source)

at java.lang.Class.getMethod0(Unknown Source)

at java.lang.Class.getMethod(Unknown Source)

at com.sun.javaws.Launcher.executeApplication(Unknown Source)

at com.sun.javaws.Launcher.executeMainClass(Unknown Source)

at com.sun.javaws.Launcher.continueLaunch(Unknown Source)

at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

at com.sun.javaws.Launcher.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)



I have signed all the related jar files properly. Every time i try to run the Java web start application, it throws some error. I have searched many forums and I do not find an answer that solves my answer.

Here is my jnlp file:
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://localhost/test/helloswt" href="helloswt.jnlp">
<information>
<title>Java Web Start demo!</title>
<vendor>abcTechnologies, Inc.</vendor>
<homepage href="http://www.abc.com"/>
<description>Test Java web start application!!</description>
<icon href="images/java-logo.jpg"/>
</information>

<security>
<all-permissions/>
</security>

<resources>

<j2se version="1.3+"/>

<jar href="test.jar"/>
<jar href="plugins/org.eclipse.core.commands_3.1.0.jar"/>
<jar href="plugins/org.eclipse.core.expressions_3.1.0.jar"/>
<jar href="plugins/org.eclipse.core.runtime_3.1.1.jar"/>
<jar href="plugins/org.eclipse.help_3.1.0.jar"/>
<jar href="plugins/org.eclipse.jface_3.1.1.jar"/>

<jar href="plugins/org.eclipse.osgi_3.1.1.jar"/>

<jar href="plugins/org.eclipse.swt_3.1.0.jar"/>

<jar href="plugins/org.eclipse.ui_3.1.1.jar"/>

<jar href="plugins/org.eclipse.ui.workbench_3.1.1.jar"/>

</resources>

<resources os="Windows">
<nativelib href="plugins/org.eclipse.swt.win32.win32.x86_3.1.1.jar"/>
</resources>


<application-desc main-class="com.abc.swt.examples.SWTLabel">
</application-desc>

</jnlp>


Please help.

Thanks & Regards,
Navanee
17 years ago
I have completed SCWCD recently and I would like to know the difficulty of SCBCD when compared to SCWCD. I took 6 months to complete my SCWCD exam as I was very new to servlets/jsp. Even here, I am new to EJB.

Please advise.

Thanks & Regards,
Navanee
Hi friends,

This is my first mail to SCBCD forum. I saw that the current SCBCD exam is 1.3 versioned. Is SCBCD 1.4 coming up shortly? Should i wait for 1.4?

Please advice.

Regards,
Navanee
Oops!! I missed Bryan. Sorry for that.

The book is more than perfect!! Thanks to all the authors for getting a book like this

Regards,
Navanee
18 years ago
mmv,

Yes. I took 310-081 (SCWCD 1.4) only.

Thanks,
Navanee
posted September 12, 2005 12:50 AM Profile for Navanee Email Navanee Send New Private Message Edit/Delete Post Reply With Quote Hi friends,

I am very happy to inform you that I have cleared my SCWCD wxam with a score of 84%

I have no working experience in Servlets/JSP. I had not knowledge about Servlets/JSP till 6 months back. I started off with Head First series. I want to say a BIG THANKS to Kathy/Bert for giving such a wonderful book. Thanks HFS authors!!

My tips/suggesstions for exam takers:
--------------------------------------
* Study HFS completely. Take all coffee cram exams and also the final mock exam in HFS.

* web.xml: Memorize it well

* Mock exams: Take as much exams as possible


Mock exam links:
----------------
1. http://www.j2eecertificate.com/scwcd/control/examcenter
-> Log in and take the 'Final certification' exam

2. http://jdiscuss.com/Enthuse/jsp/ShowAvailableTests.jsp

3. http://www.javaranch.com/carl/scwcd/scwcd_mock_logo.jsp


Study notes:
------------
The following link contains notes prepared by me.
http://www.geocities.com/hainavanee/public/certs/scwcd/


Happy certification!!


What shall i take next? SCBCD or SCJD? Ideas please ...

-- Navanee
18 years ago
Hi friends,

I am very happy to inform you that I have cleared my SCWCD wxam with a score of 84%

I have no working experience in Servlets/JSP. I had not knowledge about Servlets/JSP till 6 months back. I started off with Head First series. I want to say a BIG THANKS to Kathy/Bert for giving such a wonderful book. Thanks HFS authors!!

My tips/suggesstions for exam takers:
--------------------------------------
* Study HFS completely. Take all coffee cram exams and also the final mock exam in HFS.

* web.xml: Memorize it well

* Mock exams: Take as much exams as possible


Mock exam links:
----------------
1. http://www.j2eecertificate.com/scwcd/control/examcenter
-> Log in and take the 'Final certification' exam

2. http://jdiscuss.com/Enthuse/jsp/ShowAvailableTests.jsp

3. http://www.javaranch.com/carl/scwcd/scwcd_mock_logo.jsp


Study notes:
------------
The following link contains notes prepared by me.
http://www.geocities.com/hainavanee/public/certs/scwcd/


Happy certification!!


What shall i take next? SCBCD or SCJD? Ideas please ...

-- Navanee
I am confused about the order in which the filters are executed. The HFS book states that the filters are executed in the order they are declared in the web.xml. An example shown in HFS explains that the filters are executed in an order that does not match with the order they are defined in web.xml.

Please clarify this.

Regards,
Navanee
Hi,

I sometimes find it confusing to decide between the usage of getAttribute() and getParameter(). What is the major difference between these 2 functions?

Do servlets use both these functions? What about JSP. Does JSP use these 2 functions?


Thanks in advance.