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
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]
Thursday, March 13, 2008
Tips quiZ
Sunday, February 24, 2008
Decisions, Decisions, Decisions

Decisions, Decisions, Decisions…
When you load the application, you have two options: either import footage directly from your camcorder, or load a pre-existing video file found on your PC. All the video editors know how to deal with camcorder footage, but you may not be so lucky regarding support of random video files. Sometimes, it is possible to install a freeware utility called "FFDShow" on Windows, or "Perian" and "Flip4Mac" on the Mac side in order to allow your system to support more video formats.
Once your footage is loaded by your editor, you can start editing. On all editors, you will find either a "timeline" or a "storyboard". These are placeholders where you can drag-n-drop your clips in the order you wish -- as long as clips "touch" each other in the timeline without any gaps. While in the timeline, you can exercise a number of actions upon your clips. The most common action is "split”, where you can chop the clips into different clips and either re-arrange them or discard the parts that you don't like
[get this widget]