#### Using the Engine Bean

After making the required preparations, you can now use the Engine Bean to perform tasks according to your requirements.

The following topics detail how to program with JReport Engine Bean to achieve certain goal:

- Showing log information
- Getting the running status of a report
- Exporting report results to different file formats
- Printing reports
- Defining query range via the WHERE portion
- Adding a query to a catalog
- Specifying the data source driver
- Setting the cached query result
- Applying National Language Support (NLS)
- Rendering customized NLS information
- Getting the report communicator
- Modifying user information
- Setting the connection information
- Setting the result set
- Getting JReport Engine Bean's version number
- Getting the page orientation of a report page
- Getting DBField information
- Working with single thread
- Getting the runtime key
- Feeding input/output stream to JReport Engine