Please you investigated when you still could not that was looked in here

Google

Thursday, March 13, 2008

Tips quiZ

Tech Tips Quiz
Over the years, the Enterprise Java Technologies Tech Tips have covered a wide variety of enterprise Java technology topics. Here's a short quiz that tests your knowledge of some topics covered in recent Tech Tips. You can find the answers at the end of the quiz.

What is @UriTemplate?


The location of a template used for constructing a URI.
A JAX-RS annotation that identifies the URI path for a RESTful web service resource.
A JAXB annotation that serializes a RESTful web service URI parameter.
None of the above.


What type of security store is used for a GlassFish v2 application server whose domain is configured with the enterprise profile?


JKS
NSS
SLS


The following tag appears in a JSP page for an application:



What does the tag do?


Includes the jsfExt script into the application.
Includes the JavaServer Faces tag library into the application.
Includes the script.aculo.us JavaScript library into the application.
Includes the Dynamic Faces JavaScript library into the application.


True or false, when a Java Persistence implementation runs in J2SE mode, an application is responsible for creating it's own entity managers?


True
False


You want to create a simple web service to manage inventory. You create a class that can be used to model any inventory object that you want to expose through your web service, as follows:

public abstract class Item implements Serializable {
private long id;
private String brand;
private String name;
private double price;
...
}

Then you define classes for specific inventory objects such as the following:

public class Glove extends Item {
private String size;
}

You then define the web service interface:

@WebService()
public class Inventory {
...
public List getItems() {...}

public boolean addItem(Item item) {...}
...
}


If you deploy the web service and then look at the generated WSDL and schema, would you see a definition for specific inventory items such as Glove?



a.Yes
b.No

[get this widget]

0 comments