[ https://issues.apache.org/jira/browse/SOLR-4792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686941#comment-13686941 ]
Alejandro Abdelnur commented on SOLR-4792: ------------------------------------------ I'd like to provide unsolicited feedback on going from a WAR to an embedded deployment model. The following is based on my experience with Oozie (WAR) and Hadoop (embedded). WAR model: * W1. it runs in any servlet container * W2. it requires bundling servlet container to run out of the box * W3. configuration of the webserver is independent of the application configuration Embedded model: * E1. it runs in a bundled servlet container * E2. it bundles servlet container container code * E3. the hosting application must configure the webserver W1 gives the flexibility of choosing a servlet container, and upgrading it independently of the application. E1 requires a new release of the application. W2 makes the binary packaging of the application fatter and more complex. E2 streamlines the binary and simplifies the packaging. W3 leaves completely out of scope webserver configuration from the application. For example: memory, threadpool serving incoming HTTP connections, security configuration (HTTPS). E3 requires the application to take care of all configuration of the 'webserver'. Also, depending how the webapp components are declared (servlets, filters) things can get messy. For example, how Hadoop HttpServer class registers servlets and filters programmatically is a big mess. If you go this path, I would strongly suggest keeping web.xml around as the place where you define your webapp components (embedded Jetty can load that). I don't know the trigger motivation from moving away from a WAR, but in my experience the WAR model has always worked well. Hope this helps one way or the other. > stop shipping a war in 5.0 > -------------------------- > > Key: SOLR-4792 > URL: https://issues.apache.org/jira/browse/SOLR-4792 > Project: Solr > Issue Type: Task > Components: Build > Reporter: Robert Muir > Assignee: Robert Muir > Fix For: 5.0 > > Attachments: SOLR-4792.patch > > > see the vote on the developer list. > This is the first step: if we stop shipping a war then we are free to do > anything we want. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org