Music Library
A BeNOW Web Framework Walkthru
This is a walkthru demonstrating development of a Music Library web application using the BeNOW web framework. The destined
application will provide an interface by which information for albums and artists can be managed. Many of the features of the
web, repository, security and service APIs will be used while building the music application, and the end result will give you
an idea of where to start with your own projects.
This walkthru, including all source code, can be downloaded.
This is a work in progress, and comments are very much welcomed.
- Preparing
Installing the pre-requisites for web application development.
- Creating a new project
Creating a new web development project using the BeNOW tools, creating the project in eclipse and running the blank web framework.
- Running the project
Start the bare web application to see what is provided by the framework. When running, you'll
get an idea of how it might be modified.
- Web framework tour
A brief tour of the web framework bling.
- Creating the object model
Creating the various objects which are to be used in the Music Library project.
- Creating the services
Creating a service to perform functions within the music library.
- Calling services from Java
Using the created services to add artist and albums from within a small java test application.
- Creating a new page
A brief introduction to creating and editing a new web page.
- Calling services from a page
Fetching albums from the music service and displaying them in a page.
- Posting to a service
Creating and editing music library objects via form submission from pages.
- Calling a service via JavaScript
Using a JavaScript AJAX request to interact with the music service to delete an album, without moving away from the page.
- Security and customisation
The security model, security enforcement and integrating application with
security concepts.
- Advanced Topics
Advanced web application development topics
- Custom menu
Adding the pages to the menu
- Security considerations
Considerations for securing the application for use in a multi-user environment.
* Associating application information with users using user modules
- Calling Java from within a page
Using the Java prefix to reference java classes and methods during HTML construction.
- Theme customisation
Altering the default theme to provide customisation
- Calling remote services
Accessing the application remotely, via http and via the remote service API.