Solrj

Solrj Example

* SolrJ is a java interface to access the index data.
* SolrJ 1.4 provides the ability to connect to Solr without sending requests over HTTP connections, and to compress requests into a Java binary format instead of sending XML
* Solr is a powerfull tool for searching. you can find more about solr See Solr Search
* SolrJ is used to retrieve the records in the form of Documents or Beans.
* Also we can add a new document in Solr Index using solrj.

Read a File in Java


Read a file in Java

Reading a file in Java is very easier.
I am showing a simple example to read lines in the existing file using Java.

For this you have to pass the file name with full path.
Example: '/home/antguider/Desktop/java.txt'

Java Bean

What is a Java Bean?
- Java Beans are re-usable software components for Java that 
can be manipulated visually in a builder tool.
 
- In Practical, they are classes written in the Java programming 
language conforming to a particular convention. 

- In simple Term, Java bean is simply a java class which has getter
and setter methods. 
setter methods are used  to set the data.
getter methods are used to to get the data.

Jquery List Filter


Jquery List Filter


Jquery List Filter
Using Jquery :contains Method
Jquery List Filter is a powerful plugin used as a static data filter In the Front end. Used to filter in the Client Side by minimize the Backend Effect.

Jquery List Filter Contains Two Option one for prefix filter that is Starts With and another one is anywhere filter that is contains.

Jquery AJAX

Jquery AJAX
jQuery Provides AJAX support It is one of the main advantage of jQuery.
Jquery AJAX is used to exchange data with a server, and updating parts of a web page - without reloading the entire page.

jQuery Ajax Syntax:
jQuery.ajax( url, [ settings ] )