Hi. I want to get the content to a j2ee application without using presentation module. Can you suggest any ways to implement this scenario?
Hi Ali, what version? For 8.0 and onward, you can simply use the web api (create an xml query in presentation workspace which generates a link to access the content over the embedded rest interface – see the WEM Config and Dev guides for details). If 7.6 or before you will need to develop a simple rest interface (using the wem api) that exposes the stage content (there are examples in the SDK dev guide).
Evan
Can you please give any sample code or POC type of thing so that we can have an idea of which jar and tld files are to be included?
We have taken the licence for WEM 8.1.
In WEM 8.1 you don't need to write any (or much) code.
1. Create the needed XML Queries in the Presentation Workspace (this is done using the UI so not needed to actually write any XML). Or develop these yourself using WEB API.
2. Test the query to verify it returns content (can do this in a browser or using the IDE plugin).
3. Configure your JEE app JSP to parse the query (using whatever technologies you prefer: JSON, pure JSP, etc).
4. add supporting style elements to you CSS.
the nice thing here is that you can treat the Query as if it were any other content item: Approve, Publish, etc.
You can find details, example in the WEM Admin/Config/Dev Guides on knowledge.
OpenText Web Experience Management 8.1.0 – Content Workspaces Help (English)
OpenText Web Experience Management 8.1 Content Delivery SDK Development Guide
OpenText Web Experience Management 8.1 Content Management SDK Development Guide
We also offer a detailed training course that provides a hands-on workshop in using API and Web API to build out your JEE apps quickly.