Latest Answer: sql.Date has just date but util.Dat has date and time stamp ...
Latest Answer: absolute url is of the form "http://localhost:8080/jsp-examples/jsp/index.jsp" as vani rao says its a direct and straight way of identifyig a servlet or jsp or a html or a applet which is available in a container...then relative url is once after reaching ...
With Bean Managed Persistence, what are the developer’s responsibilities in terms of data synchronization? A The DML statements for inserting, deleting and updating data are coded in appropriate methods and the client program is responsible for synchronizing data by calling the methods appropriately. B The DML statements for inserting, deleting and updating data are coded in appropriate methods but since ejbLoad() and ejbStore() are callback methods, the container makes calls
Answer: B
Under which of the following conditions should you use an Entity Bean?i. The bean represents a business entity, not a procedure. ii. The bean’s state must be persistent. If the bean instance terminates or if the J2EE server is shut down, the bean’s state still exists in persistent storage (a database).A Choice (i) only B Choice (ii) only C Choice (i) or (ii) depending on whether the Container is EJB 1.0 compliant or EJB 1.1 compliant D Both choice (i) and (ii)
Answer: D
What is the difference in the Java Security model between JDK 1.1 and JDK1.2 with regards to applets?A There is no difference between the two JDK versions in question. Applets are always confined to the sandbox. B In JDK 1.1, applets are never trusted and in JDK 1.2 they always are. C JDK 1.2 fixed a flaw in the JDK 1.1 security policy. There are no security holes in JDK 1.2 because Applets are never trusted. D In JDK 1.1 only signed applets were trusted whereas in JDK 1.2, any applet
Answer: D
Which of the following are mandatory steps in the SSL handshake? A Validate Client to Server B Validate Server to Client C Allow client and server to choose cryptographic algorithm D Use symmetric key encryption to generate shared secrets
Choices B and C are correct.284 When a Stateful Session Bean is passivated, what activities should the developer perform in the ejbPassivate() method? A Close all open resources B Set transient fields
Session Bean SB1 calls a method in another Session Bean SB2. If the calling Bean has a transactional scope, with which of the following attributes in SB2, will the transaction not be propagated?A Supports B Required C Not Supported D Requires New E Mandatory F Never
Choices C, D and F are correct.
The findByXxx() method in the Home Interface of an entity bean returnsA An Instance of java.lang.Object B An instance of the Remote Reference to the bean C An instance of java.util.Enumeration D An instance of the Bean class.
Choices B and C are correct.
Which of the following situations may be best suited for implementation using Servlets and JSP?A Need large scale deployment B Need heavy use of transactions C Need to process dynamic requests from HTTP clients D Need access to relational databases through a generic set of APIs E To function as Intercepting filters, request processors and request dispatcher F When static templates are combined with data to form dynamic HTML output
Choices C, E and F are correct.
View page [1] 2 3 4 5 6 7 8 9 10 Next >>

Go Top