Mahesh Desai

Ranch Hand
+ Follow
since Apr 04, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Mahesh Desai

Congratulations and good luck for Part II & III.


Regards,
Mahesh

-------
SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCEA Part I, (SCEA II & III preparing......)
Thanks John for details.


Regards,
Mahesh

-------
SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCEA Part I, (SCEA II & III preparing......)
Thanks John for your response. Do you know what's the nature of SCEA 2 Part III exam?

Regards,
Mahesh

-------
SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCEA Part I, (SCEA II & III preparing......)
Hello Ranchers,

Recently I cleared SCEA 2 � Part I with 81%. Here is detailed score:


Concepts....................100%
Common Architectures........66%
Legacy Connectivity.........66%
EJB.........................100%
EJB container Model.........50%
Protocols...................100%
Applicability of J2EE.......66%
Design Patterns.............80%
Messaging...................66%
Interntionalization.........100%
Security....................100%


It�s not that good score but I am happy because I didn�t spend much time on preparation. My earlier SUN certification i.e. SCBCD helped me a lot for EJB preparation.

I got my project assignment from SUN and started working on it. I would like to know which tool we should use for UML diagram designing.

Thanks for your all the help for SCEA preparation.


Regards,
Mahesh

-------
SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCEA Part I, (SCEA II & III preparing......)
[ April 30, 2008: Message edited by: Mahesh Desai ]
Using the SessionContext reference, the bean interacts with the container throughout the lifecycle of the bean.

Thanks,
Mahesh
Try this Calling Servlet from Portlets


Hope this helps!


Thanks,
Mahesh



----------------------
SCJP 1.4 | SCWCD 1.4 | SCBCD 1.3 | SCEA Part I - In Progress
17 years ago
A, C, D & E are correct answers.

B is incorrect: Passivation (serialization) skips the variables of the bean class which are declared as transient while storing the object on secondary storage.

By the completion of the ejbPassivate() method, all the nontransient fields (which will be saved) of the bean state must be one of the following:

1] A serializable object, that is, its class implements the Serializable interface.
2] Null.
3] A reference to an enterprise bean�s remote component (EJBObject) interface or remote home (EJBHome) interface.
4] A reference to an enterprise bean�s local component(EJBLocalObject) interface or local home (EJBLocalHome) interface.
5] A reference to a SessionContext object.
6] A reference to the bean�s JNDI context (for example, java:comp/env) or any of its subcontexts.
7] A reference to a user transaction interface: javax.transaction.UserTransaction.
8] A reference to a resource manager connection factory, for example, javax.sql.DataSource.
9] A reference to a javax.ejb.Timer object.



Hope this helps,


Thanks,
Mahesh



----------------------
SCJP 1.4 | SCWCD 1.4 | SCBCD 1.3 | SCEA Part I - In Progress
[ May 08, 2007: Message edited by: Mahesh Desai ]



There is spelling mistake in include directive, @ line number 4. It should work fine after correcting it.


Thanks,
Mahesh



----------------------
SCJP 1.4 | SCWCD 1.4 | SCBCD 1.3 | SCEA Part I - In Progress
[ May 08, 2007: Message edited by: Mahesh Desai ]
17 years ago
Hi Paul,

I just went through the one of the tutorials and came to know about how we can set the JVM arguments in Websphere. Here are the steps to setup JVM Arguments:


From the administrative console, go to Application servers > servername > Java and Process Management > Process Definition > Java Virtual Machine.
Set the Generic JVM Arguments as shown below:

Windows:

-Xms640m -Xmx1472m -Xss128k -Xoss128k -Xpartialcompactgc -Xgcpolicy ptthruput -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.awt.headless=true -Xk15000 -Dsun.rmi.dgc.ackTimeout=1 -Dcom.ibm.websphere.threadpool.clearThreadLocal=TRUE

AIX:

-Xms640m -Xmx1840m -Xss256k -Xoss256k -Xpartialcompactgc -Xgcpolicy ptthruput -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.awt.headless=true -Xk15000 -Xloratio0.2 -Xlp -Dsun.rmi.dgc.ackTimeout=1 -Dcom.ibm.websphere.threadpool.clearThreadLocal=TRUE

Solaris:

-Xms640m -Xmx1840m -Xss256k -XX:+CMSConcMarkSweepGC -XX:NewSize=256m -XX:MaxNewSize=512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.awt.headless=true -Dsun.rmi.dgc.ackTimeout=1 -Dcom.ibm.websphere.threadpool.clearThreadLocal=TRUE


Thanks for your time Paul.


Thanks,
Mahesh



----------------------
SCJP 1.4 | SCWCD 1.4 | SCBCD 1.3 | SCEA Part I - In Progress
17 years ago
Hi Paul,


I just found the property values which we need to set for Xerces parser. Following are the four properties:

1] -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl

2] -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl

3] -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl

4] -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XML11Configuration


But do you know where and how we can set these properties in Websphere?

Thanks for your reply for my earlier post.


Thanks,
Mahesh



----------------------
SCJP 1.4 | SCWCD 1.4 | SCBCD 1.3 | SCEA Part I - In Progress
[ May 06, 2007: Message edited by: Mahesh Desai ]
17 years ago
Hi Ranchers,

How could we override Crimson with Xerces parser in Websphere 6.0?

As I know, we need to follow following steps:

1] Put required Xerces jar files in into <"JAVA_HOME">/lib/endorsed
2] Set JVM argument as

-Djava.endorsed.dirs=/user/java/j2sdk1.4.2_08/lib/endorsed

3] Set CLASSPATH= <"JAVA_HOME">/lib/endorsed/xerces.jar


But it seems it�s not working after following the above steps . My question is, Is there any other way than the above to force WAS 6.0 to load Xerces parser rather than its default Crimson parser?


Any ideas would be appreciated.

Thanks,
Mahesh



----------------------
SCJP 1.4 | SCWCD 1.4 | SCBCD 1.3 | SCEA Part I - In Progress
[ May 06, 2007: Message edited by: Mahesh Desai ]
17 years ago
Put your property files in classpath, so that ResourceBundle load it correctly.


Thanks,
Mahesh


--------------------
SCJP 1.4 | SCWCD 1.4 | SCBCD 1.3 | SCEA Part I - In Progress
17 years ago
Congrats John and thanks for sharing value information with us.


Thanks,
Mahesh

-------------------
SCJP 1.4 |SCWCD 1.4 | SCBCD 1.3 | SCEA Part I - In Progress