Example: VendorSpotlight

We're going to use Barracuda to implement a presentation that generates a simple Vendor Spotlight page that features a particular vendor and some information about them.

In this example, we'll focus on the use of

  • The View

  • The Model

  • Barracuda directives

There's not a lot of presentation wizardry involved, other than importing a portion of one HTML template, as a header navigational bar, into the main template. The data will come from accessing a Model representing the data source (of hard-coded strings). After we discuss how to get the application up and running, we'll review the details regarding how Barracuda does its stuff.

Configuration

You take the following steps to use Enhydra AppWizard to establish a standard servlet ...

Get Enhydra XMLC™ Java™ Presentation Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.