Java and Velocity Handler

My current requirements needs me to use specific java api to perform some additional logic. I am not able to do this using Velocity alone. Is there a simple way to invoke Java classes in the templates which uses VelocityHandler?

Thanks
Manvinder

The simplest way is to create a new “JEXL Expression” extension. See the API recommendations document: Rhythmyx 6.5 API Recommendations

Also this thread may help you: Where are classes needed for extensions?

Is there any document or instructions on how to setup the Development environment to add new java classes/extensions?

No, there’s no documentation that I’m aware of. One of the posts in the thread I linked previously tells you pretty explicitly what you need for 6.5.2.

If you are using a different version, you may need some additional JARs.

Dave