long customerOID = 47L;session.setAttribute(customerOID, new Long(customerOID));
long customerOID = 47L;session.setLongAttribute(customerOID, new Long(customerOID));
long customerOID = 47L;session.setAttribute(customerOID, customerOID);
long customerOID = 47L;session.setNumericAttribute(customerOID, new Long(customerOID));
第1题:
Your company has an existing Windows Communication Foundation (WCF) service that allows business partners to place orders. The service uses netMsmqBinding. You find that processing every order in its own transaction is causing a delay. You need to ensure that the service is configured to process multiple orders in one transaction. What should you do? ()
A. Use
B. Use
C. Use
D. Use
第2题:
The public store is to close at 9:30 p.m. ()no need to worry; it is just 7:30 p.m.
第3题:
—I can't see the words on the blackboard. —Perhaps you need _( )
A. How long ago did you get it this
B. How long have you been like this
C. How soon have you got it
D. How soon have you liked this
第4题:
You need to store a floating point number,called Tsquare,in the session scope. Which two code snippetsallow you to retrieve this value?()
第5题:
You need to store elements in a collection that guarantees that no duplicates are stored. Which two interfaces provide that capability?()
第6题:
You need to store a Java long primitive attribute, called customerOID, into the session scope. Which two code snippets allow you to insert this value into the session?()
第7题:
Your web application uses a simple architecture in which servlets handle requests and then forward to aJSP using a request dispatcher. You need to pass information calculated by the servlet to the JSP;furthermore, that JSP uses a custom tag and must also process this information. This information mustNOT be accessible to any other servlet, JSP or session in the webapp. How can you accomplish this goal?()
第8题:
You develop a serializable class for persisting objects as files.Every time an object is serialized, you have to update the database with the name of the object and location of that file.You elect to employ the OnSerialized attribute to achieve this objective.You now need to apply the OnSerialized attribute to a certain method.What should you do?()
A.
B.
C.
D.
第9题:
You need to store elements in a collection that guarantees that no duplicates are stored and all elements can be accessed in natural order. Which interface provides that capability?()
第10题:
请选择合适的选项,补充下列英文句子: Thank you for your() to my store, you can find the products you need from my store.