Book Image

Scaling Apache Solr

By : Hrishikesh Vijay Karambelkar
Book Image

Scaling Apache Solr

By: Hrishikesh Vijay Karambelkar

Overview of this book

Table of Contents (18 chapters)
Scaling Apache Solr
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Empowering the Java Enterprise application with Solr search


Since Apache Solr is a J2EE-based WAR file, it can be easily integrated with any other application. We have already seen how Apache Solr can be used on different J2EE application containers such as Tomcat and Jetty. For the applications that are developed on the J2EE platform, Apache Solr can be used in the following ways in your existing J2EE applications. While many Solr implementations go for HTML APIs with an XML/JSON request-response model from the client, the approaches discussed in the latter part of the chapter highlight a tighter integration with Apache Solr. HTML-based integration of Apache Solr demands consumer application to send HTTP requests to the Solr server, and accept responses in the XML/JSON format.

Embedding Apache Solr as a module (web application) in an enterprise application

Application servers such as JBoss and Weblogic support Java EE-based projects and the packaging. A typical enterprise archive (.ear) file...