Hi there , Its very nice to share the knowledge across the ocean , i would like to discuss some of the question here , i tried to provide the answere here but i am not sure whether all are true , so anybody whoever finds the answere are wrong plz correct me so that i can improve my skill and i hope everybody will enjoying the a answering these question ,so here we go . Plz do provide any explaination wherever i am wrong.Thanks all of u Q.1 After Adding a new parameter to EJB's Remote interface , a developer restarte the server but notice that that change made to ejb interface are not relected what can be the cause , select any one . 1 > The interface has not been deployed in server 2> The Ejb Project has not been restarted 3> Auto Reloading has not been enabled 4> The web browser has not been refreshed 5> The developer failed to regenerate the deployed code. ans 1 : 5 Q.2 A web developer is deployed a jsp on server what he has to do for modification to reflect , slect two 1> Publish the modified jsp to the server 2> Restart the server 3> Pre compile JSP 4> Refresh the browser ans 2: 2,3 3> A developer need to create a DataSource in IBM websphere Test Enviorment in IBM Websphere Studio , this can be accomplished by changing following resources choose 2 1> server instance editor 2> server cofig editor 3> server-config.xml 4> test server.wsi ans 3: 1,2 4> Tesing a session ejb in Websphere Studio , the value returned by getServletContext().getEnvoirment().getProperty("ConnURL") is incorrect where within Application developr Enviorment properties can be conigured to correct value .select one 1>application.xml 2>ejb-jar.xml 3>web.xml 4>ejb properties ans 4: 1 5>During unitTesting , a developer created a no of ejb and would like to remove ejb permanently as a part of clean up effort .what step to be followed . choose two 1> Go to Ejb_bean_ class and select method visibility , select the javax.ejb.EJBObject and click set 2> Go to Ejb_home_class and select method visibility and select javax.ejb.EJBHome and click set 3> Go to Ejb_home_class and select remove and select invoke 4> Expand the ejb bean , select remove and select invoke 5> select the icon beside the ejb bean and select remove. ans 5: 6> Consider an appication for security is being defined using the J22E Authorized node in Websphere , the appication has file contract.xml which is only to be made avaialbe to web authenticated user to provide this security , assume we r using AAT .Selct two.
1> Protect the contract.xml file uses a appropriate role . 2> Using AAT , define appropriate security constraint and add contract.xml file to web resource collector. 3> Add the contract.xml file to web module 4> add the contract.xml file to web resources on virtual host within websphere. ans 6: 1,3 7> An auto part assembly line is monitored by an EJB Application .At random , the automated machinery takes a safer of part being created and check it for precesion/ accuracy of its manufacture ,any defect are recored doing with information describing the particular of the defect. The defect should be implement as ( choose 1) 1> CMP 2> BMP 3> Stateless Session bean 4> Stateful Session Bean. ans 7: 3 8> Its requirement that class implement SessionBean and is stateful and Serializable which is the one describe the best. choose 1 1> To permit storing reference to the session bean in HttpSession. 2> Stateful Session Bean Passivate Protocol uses object serialization to save bean state 3> Stateful Session use object serilization to save/restore coversational state when participated in transcation. 4> Stateful session bean must be able to moved from one server to another. ans 8: 3 9>Which of the following are the step required to create a client that interact with SOAP RPC Server, suppose using Appache Soap v2.2 tool .choose 3 1> Write the parameter object to the output stream returned by HTTP URL Connection. 2> Set the method name is callObject 3> Set the URN in Call Object 4> use the HTTPURL Connection to call SOAP Service. 5> Obtain the UDDI the interface of soap Service. ans 9 : 3,4,5 10> A Developer creating an ejb session bean what can the bean to always be part of transcation scope of the calling object .how can we configured in VAJ 4.0 to achieve this . Choose 1 1> Ejb Bean proper tab 2> Ejb bean group tab 3> Ejb bean Info Tab 4> Enviorment part tab.