How to Add Index on Secondary Replicaset in MongoDB
How to create index on Secondary Replica set in MongoDB. well, creating the index on primary MongoDB is easy and index on secondary tricky.
How to create index on Secondary Replica set in MongoDB. well, creating the index on primary MongoDB is easy and index on secondary tricky.
Very essential to know about, How to Configure ReplicaSet in MongoDB on One Node? Configuring of replica set on MongoDB is very easy, if you know the basics of MongoDB and replication. My environment for this test Ubuntu 14, MongoDB 3.
Understanding of High Availability of nonfunctional requirements is not easy, it’s an art with science. Being an architect, it is very important to understand cost vs acceptable downtime. I mean to say, how much cost you are going to invest on servers and how much your acceptance on downtime? These are essential things before committing …
Understanding of High Availability NFR (Non Functional Requirement) Read More »
What is distributed system? Sometimes, this is very critical to define a system, whether the provided system is distributed or not? well, so this completely depends on the surrounding attributes which you are looking for.
Java to JSON conversion by using Google’s famous library Gson. There are different libraries available to convert from java object to JSON and JSON to Java Object. The 2 are the most popular first one is Google’s Gson API and the other is Jackson API.
JAX-RS cookie example using @CookieParam annotation in Jersey rest API, for retrieving cookie parameter in Jersey rest API. Server can store state information in cookies on the client, and the same can be retrieved that information when the client makes its next request. Many web applications use cookies to set up a session between the …
JAX-RS : Get Cookie value using @CookieParam in Jersey Read More »
JAX-RS headerparam used for binding of request header values and retrieving of header param values in the controller.
JAX-RS path parameter using @PathParam annotation for retrieving path param variables.
In JAX-RS, mapping of formParam in the controller/service method is very easy by using @FormParam annotation.