Expose Modeler Functionality in 15.7.0
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2015 08:24 AM
In older versions of activiti (like 15.6.3) i used to open "Activiti Modeler" in my web application, by overlaying "activiti-webapp-explorer2.war" to my web application and adding these parts of "activiti-webapp-explorer2"s web.xml to my web.xml:
And then by navigating to "https://localhost/activiti/service/editor?id=1" address for opening Modeler.
But in the current version of activiti (5.17.0) I don't know how? That part of web.xml is removed from "activiti-webapp-explorer2.war".
<!– Restlet adapter, used to expose modeler functionality through REST –><servlet> <servlet-name>RestletServletExplorer</servlet-name> <servlet-class>org.restlet.ext.servlet.ServerServlet</servlet-class> <init-param> <!– Application class name –> <param-name>org.restlet.application</param-name> <param-value>org.activiti.rest.explorer.application.ExplorerRestApplication</param-value> </init-param></servlet><!– Catch all service requests –><servlet-mapping> <servlet-name>RestletServletExplorer</servlet-name> <url-pattern>/service/*</url-pattern></servlet-mapping>
And then by navigating to "https://localhost/activiti/service/editor?id=1" address for opening Modeler.
But in the current version of activiti (5.17.0) I don't know how? That part of web.xml is removed from "activiti-webapp-explorer2.war".
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2015 04:32 PM
The REST logic has been rewritten using Spring MVC and removing Restlet.
This is indeed done without web.xml, but rather using the Spring WebApplicationContext that uses component scanning. You can still do something similar, but you will probably need to create some Spring Confuguration classes yourself and import the activiti ones.
This is indeed done without web.xml, but rather using the Spring WebApplicationContext that uses component scanning. You can still do something similar, but you will probably need to create some Spring Confuguration classes yourself and import the activiti ones.
