EJB Sample Question
Hi there,
My questions here referred to WebLogic server 6.1 examples.ejb20.basic.statelessSession
and I m yet not attended any J2EE classes yet.
1. What does the method ejbPassivate() and setSessionContext(SessionContext ctx)
invoked inside TraderBean class does? Since I can't find any codes called the setSessionContext
that needs a input parameter?
2. Under ejbCreate(), the line statd Integer tl = (Integer) ic.lookup("java:/comp/env/tradeLimit");,
where do i get java:/comp/env/tradeLimit? Is that stated inside the ejb-jar.xml under
the entry <env-entry>?
3. Can explain what are the steps invoked inside the build.xml after compiling the
class files?
4. What does the weblogic-ejb-jar.xml does?
Thanks
Neo
For 1 & 2 You need to read a EJB Book. There is a free one available at
www.theserverside.com.
for 4, look at
http://e-docs.bea.com/wls/docs61/ejb/index.html
"Neo Gigs" <[email protected]> wrote in message
news:3cbe4ab1$[email protected]..
>
Hi there,
My questions here referred to WebLogic server 6.1examples.ejb20.basic.statelessSession
and I m yet not attended any J2EE classes yet.
1. What does the method ejbPassivate() andsetSessionContext(SessionContext ctx)
invoked inside TraderBean class does? Since I can't find any codes calledthe setSessionContext
that needs a input parameter?
2. Under ejbCreate(), the line statd Integer tl = (Integer)ic.lookup("java:/comp/env/tradeLimit");,
where do i get java:/comp/env/tradeLimit? Is that stated inside theejb-jar.xml under
the entry <env-entry>?
3. Can explain what are the steps invoked inside the build.xml aftercompiling the
class files?
4. What does the weblogic-ejb-jar.xml does?
Thanks
Neo
Similar Messages
-
Hi buddies,
I have installed oracleappserver.
i would like to run some ejb samples.
h to do that.i am new for ejb and oracleapserver.
can anyone give me the steps for that.
thanks and regards
sivaHey Siva, Buddy!
How are you? Remind me where we know each other from!
Have you looked through the sample code available for download
from:
http://technet.oracle.com/sample_code/tech/java/oc4j/content.html
There is also documentation available at:
http://technet.oracle.com/docs/tech/java/oc4j/content.html
The documentation also contains sample code.
If you have looked through the above, and are still unclear as to
how to proceed, then please ask specific questions about the
aspects of OC4J that you are unclear on.
Please note also the following site:
http://kb.atlassian.com/content/tutorials/
also contains tutorials explaining how to set up and execute an
EJB application using OC4J.
If you are also new to EJB, go visit
http://www.theserverside.com
They have a digital book (PDF format) available for downloading
about EJB, "Mastering Enterprise Java Beans" by Ed Roman.
Good Luck,
Avi. -
Sample questions on SAP NetWeaver-Web Application Develpment certification
hello frnds,
can i find any sample questions on
<i><b>SAP NetWeaver-Web Application Develpment - JAVA</b></i> certification?
what are the books/material should i follow for the same ?
Thank you,
Regards,
Shobhanhi Sobhan
Please try on
braincert.com
Farook -
Java Programming Competition Sample Questions
Hi,
I am interested in participating the Java Programming Competition in my University. For pratice can you point me to some website with sample questions or any question u have in mind.
Thanks
SatishI was thinking of putting up on-forum competitions, winner gets dukes etc.
Someone find an empty forum and we can get on it. -
SAP ABAP Certification Sample Questions
Hi
Can anyone help me in SAP ABAP certification sample questions?
Before giving the exam i wanted to just check mu knowlegde..
Do not ask for sample question on SDN.
Read and respect forum rules.
Edited by: Zubin Shah on Jun 1, 2010 6:08 PMHi
If can answer most of these then you will have no problem with the cert exam: Security interview questions - some fun to tickle your brain. -
SCSA 310-014 free sample questions
Can anybody guide me to get SCSA 310-014 free sample questions. Thanks in advance.
Thanks,
Vasanth.The guys over at http://www.unixporting.com/ provide -very- cheap practice exams.
I know: it's not -free-. But their exams are -very- good and actually drive you to learn more than you need to know for the real exam. That way you'll be sure to do well on the test :) -
Environment: Windows NT4, sp5, WLS 5.1/sp 2, Sun JDK1.2.2
As illustrated in 'Introduction to BEA Weblogic Server', pp 101-102, I'm
compiling the Emp EJB sample. I successfully compiled the java programs,
moved the XML files, and created the initial JAR file. Next the sample says
to run ejbc on the JAR file. When I do I get the following error:
G:\weblogic\examples\intro\ejbtemp>java -Dweblogic.home=%WL_HOME%
weblogic.ejbc Emp.jar -d %WL_HOME%\myserver\Emp.jar
java.lang.ClassCastException
at
weblogic.xml.dom.DOMUtils.getOptionalElementsByTagName(DOMUtils.java,
Compiled Code)
at
weblogic.xml.dom.DOMUtils.getOptionalElementByTagName(DOMUtils.java:170)
at
weblogic.xml.dom.DOMUtils.getOptionalValueByTagName(DOMUtils.java:97)
at
weblogic.ejb.deployment.dd.EJBReadDOM.getDescriptionValue(EJBReadDOM.java:40
4)
at
weblogic.ejb.deployment.dd.DescriptorLoader.createDeploymentUnit(DescriptorL
oader.java:200)
at weblogic.ejbc.runBody(ejbc.java, Compiled Code)
at weblogic.utils.compiler.Tool.run(Tool.java:80)
at weblogic.ejbc.main(ejbc.java:353)
ERROR: java.lang.ClassCastException
Any idea what may be causing this?try to use the build script in the examples directory..
It is available for all examples.
so after running setenv
go the example u want and run the build.cmd
it should work
Steve Vago wrote:
Environment: Windows NT4, sp5, WLS 5.1/sp 2, Sun JDK1.2.2
As illustrated in 'Introduction to BEA Weblogic Server', pp 101-102, I'm
compiling the Emp EJB sample. I successfully compiled the java programs,
moved the XML files, and created the initial JAR file. Next the sample says
to run ejbc on the JAR file. When I do I get the following error:
G:\weblogic\examples\intro\ejbtemp>java -Dweblogic.home=%WL_HOME%
weblogic.ejbc Emp.jar -d %WL_HOME%\myserver\Emp.jar
java.lang.ClassCastException
at
weblogic.xml.dom.DOMUtils.getOptionalElementsByTagName(DOMUtils.java,
Compiled Code)
at
weblogic.xml.dom.DOMUtils.getOptionalElementByTagName(DOMUtils.java:170)
at
weblogic.xml.dom.DOMUtils.getOptionalValueByTagName(DOMUtils.java:97)
at
weblogic.ejb.deployment.dd.EJBReadDOM.getDescriptionValue(EJBReadDOM.java:40
4)
at
weblogic.ejb.deployment.dd.DescriptorLoader.createDeploymentUnit(DescriptorL
oader.java:200)
at weblogic.ejbc.runBody(ejbc.java, Compiled Code)
at weblogic.utils.compiler.Tool.run(Tool.java:80)
at weblogic.ejbc.main(ejbc.java:353)
ERROR: java.lang.ClassCastException
Any idea what may be causing this? -
Plant MAintenance certification sample question
Hi all,
I am due to appear for Plant MAintenance certification thios macrh.It wud be greatful if anyone of u can help with the sample questions .Go through the PM Question & Answer book published by sapcook. It will be of great help to you
Regards,
Ketul -
■■I can't debug the xml_xslt_content EJB sample in the examplesWebApp !!
■■I can't debug the xml_xslt_content EJB sample in the examplesWebApp
start the Example Server
http://localhost:7001/console
among the deployed EJB ,the xml_xslt_content EJB how to run
Is the related jsp page in \bea\wlserver6.0\samples\examples\xml\xslt ?????
in the
\bea\wlserver6.0\config\examples\applications\examplesWebApp\WEB-INF\web.xml
there are
<taglib-location>
/WEB-INF/lib/xmlx-tags.jar
</taglib-location>
</taglib>
in line471
but i did not find the xmlx-tags.jar
in the \bea\wlserver6.0
who can help me ??????????As this is your 3rd post on this subject, Please tell us what the problem is, I did reply to both your 1st and 2nd post, and whilst I agree that my 1st post did not give an adequate reply (I misunderstood the problem), I think my second reply was adequate and I did offer to help further if you had problems, (please remember that I have to work as well as trying to help other users on the forum).
My 2nd reply was as follows:
If you wish to use the IIS server then go to: http://www.microsoft.com/Web/
and download the Microsoft web platform.
This 2nd option here is best if you are using php or are a beginner -
If you wish to use an apache server try: http://httpd.apache.org/download.cgi
or for a fuller installation (server/mysql/php)
http://www.wampserver.com/en/download.php
Don't forget to get the documentation as well!
HTH
PZ
Once you have one of these working (or have a problem with), then please return.
Message was edited by: pziecina
If there is anything you do not understand, or require help with please reply to the original post, but as David Powers says any abusive language will prevent me (and others), from replying (I did not see the previous moderated post).
PZ -
I can't debug the xml_xslt_content EJB sample in the examplesWebApp !!
start the Example Server
http://localhost:7001/console
among the deployed EJB ,the xml_xslt_content EJB how to run
Is the related jsp page in \bea\wlserver6.0\samples\examples\xml\xslt ?????
in the
\bea\wlserver6.0\config\examples\applications\examplesWebApp\WEB-INF\web.xml
there are
<taglib-location>
/WEB-INF/lib/xmlx-tags.jar
</taglib-location>
</taglib>
in line471
but i did not find the xmlx-tags.jar
in the \bea\wlserver6.0
who can help me ??????????As this is your 3rd post on this subject, Please tell us what the problem is, I did reply to both your 1st and 2nd post, and whilst I agree that my 1st post did not give an adequate reply (I misunderstood the problem), I think my second reply was adequate and I did offer to help further if you had problems, (please remember that I have to work as well as trying to help other users on the forum).
My 2nd reply was as follows:
If you wish to use the IIS server then go to: http://www.microsoft.com/Web/
and download the Microsoft web platform.
This 2nd option here is best if you are using php or are a beginner -
If you wish to use an apache server try: http://httpd.apache.org/download.cgi
or for a fuller installation (server/mysql/php)
http://www.wampserver.com/en/download.php
Don't forget to get the documentation as well!
HTH
PZ
Once you have one of these working (or have a problem with), then please return.
Message was edited by: pziecina
If there is anything you do not understand, or require help with please reply to the original post, but as David Powers says any abusive language will prevent me (and others), from replying (I did not see the previous moderated post).
PZ -
TCRM10 CRM Fundamentals Certification Sample questions required
Hi Experts,
I am appearing for TCRM10 fundamentals certification.
Please help me with sample certification questions for the same.
Any help would be appreciated n rewarded points.
Please mailto [email protected]
Thanks in advance and best regards,
Vikas
Edited by: Vikas Taneja on Jan 28, 2008 5:54 PMI cannot believe that no one has any sample questions. Please take out little time out of ur schedule and help as the questions would not only help an individual but a team of 20 members.
Many thanks .
Vikas -
Hi Harold and Brian
I would like to know if it is possible to use your samples questions (i.e. http://www.oracle.com/global/us/education/certification/sample_questions/exam_1Z0_046.html) in my next official publications. Would like also to know if we can just write a book about a Oracle certification or shall we also ask Oracle before the book hits the streets?
Who shall I ask before using those questions please? What kind of authorization shall I request?
Thanks.
Regards,
HubHi Aman
Thanks for your question, it is about the Oracle under Linux OCE? I'm working hard to get the chapters written in a new format with Q&A, exercices. Hopefully will be printed next year, after I delivery all the 15 chapters.
unfortunately my co-author was supposed to furnish some chapters dropped the project (besides that he didn't wrote a word for that book) so therefore will the writing / editing take longer time than expected.
I'll keep you informed.
Regards,
Hub -
SCJP 1.5 sample questions
Please let me know, If anyone have SCJP 1.5 sample questions. I already learned to this exam.All though, I need more questions to test SCJP knowledge myself.
This topic was posted in the wrong forum. See
http://forum.java.sun.com/ann.jspa?annID=14 -
Hi All,
I am going for SRM certification in a few days.
Could you please send SRM Certification sample questions?
Please send to [email protected]
Thanks in advance.
Regards,
YoussefHi Atul,
Thanks for sending the docs. Could you send me any sample questions for TSRM10?
Thanks,
Youssef -
SAP Netwevaer - Sample questions
Hello team,
I am planning to take my Netweaver - oracle consultant exam in March.
Can anyone send sample questions to gain my confidence ?
Please send it to [email protected]
Thanks in Advance !
RajIt is against [forum|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] rules to request or provide such information.
Thread is being locked.
-Paul
Maybe you are looking for
-
How do I add a new IP to the local host file?
One of the sites I manage has been migrated to a dedicated server. Before changing the nameservers, I need to proof all the pages. To do so, I need to add the new IP number to my local computer local host file. How is that done? OSX 10.9 david
-
Login screen mac os x lion problem
"stuck" when i start write password in login screen mac os x lion . any help ?
-
Planned delivery time Pickup from inforecord not material master data
Hi, Currently the delivery dates of the orders are calculated with the delivery time which is marked in MM02. Since the purchasing integrates this information in the info record, we want the delivery date to be calculated with delivery time of the in
-
HT201398 Why won't podcast app work on iPhone 5 after ios 8.1.3 update?
Why won't podcast app work on iPhone 5 after ios 8.1.3 update? I've restarted the phone and itunes several times, have uninstalled and reinstalled the app on the phone and itunes separately, and it still just shows 'Installing" under the greyed out a
-
Wondering what everyone thinks of Scott Kelby's LR 2.0 wishlist? Kelby's list http://www.scottkelby.com/blog/2008/archives/932 I guess the really important question is which of these upgrades will we get with LR 2.0 & when will we get LR 2.0? Obvious