Home » Java » Page 696

Java

Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBase comparison

Kristóf Kovács performed a very interesting brief comparison among six of the most popular “NoSQL” database implementations. Additionally to Kristóf’s work, I would like to provide some links which I believe will help all of you who are interested in following the “NoSQL” community along : NoSQLDatabases – http://www.nosqldatabases.com/ myNoSQL – http://nosql.mypopescu.com/ NoSQL – http://nosql-database.org/ Best Regards Justin

Read More »

How to Do 100K TPS at Less than 1ms Latency

java-interview-questions-answers

Martin Thompson and Michael Barker talk about building a HPC financial system handling over 100K TPS at less than 1ms latency by having a new approach to infrastructure and software. Some of the tips include: Understand the platform Model the domain Create a clear separation of concerns Choose data structures wisely Run business logic on a single thread The presentation that ...

Read More »

Revving Up Your Hibernate Engine

Want to know how you can tune up your Hibernate-based applications for seamless scalability and maximum performance results? This article explores tuning techniques for Hibernate-based applications, focusing on tuning topics that are effective but poorly documented, such as inheritance mapping, second level cache and enhanced sequence identifier generators. It also provides some background database information which is essential for tuning Hibernate. A ...

Read More »

Dependency Injection – The manual way

spring-interview-questions-answers

Dependency injection is a technique that separates behavior from dependency resolution. In simpler words, it allows the developer to define classes with specific functionality that depends on various collaborators, without having to define how reference to these collaborator will be obtained. In that way, decoupling among the various components is achieved and cleaner code is introduced in general. More specifically, ...

Read More »

Securing GWT apps with Spring Security

In this tutorial we will see how to integrate GWT with Spring’s security module, i.e. Spring Security. We will see how to protect the GWT entrypoint, how to retrieve the user’s credentials and how to log the various authentication events. Moreover, we are going to implement a custom authentication provider so that existing authentication schemes can be reused. If you ...

Read More »

JAX–WS with Spring and Maven Tutorial

Spring framework provides remoting support for web services via JAX–WS, in fact, as stated in Spring reference documentation, there are three ways of exposing Spring POJO services as a JAX–WS web services : Exposing Servlet – based web services (suitable for Java EE 5 environments) Exporting standalone web services (suitable when utilizing Sun’s JDK 1.6 build–in JAX–WS provider) Exporting web ...

Read More »

Java Best Practices – Char to Byte and Byte to Char conversions

Continuing our series of articles concerning proposed practices while working with the Java programming language, we are going to talk about String performance tunning. Especially we will focus on how to handle character to byte and byte to character conversions efficiently when the default encoding is used. This article concludes with a performance comparison between two proposed custom approaches and ...

Read More »

ConcurrentLinkedHashMap v 1.0.1 released

Hello all, we released version 1.0.1 of our concurrent LinkedHashMap implementation. In the latest version several minor modifications have been made so as to improve performance when multiple threads iterate over the elements of the map. The latest version also introduces pluggable eviction policies. Of course you can implement custom eviction policies and use them with out ConcurrentLinkedHashMap as well. ...

Read More »

‘Hello World’ portlet on JBoss Portal

Portlet Overview This tutorial will show you how to create and deploy a simple portlet. Portlets are Java technology based web components, that can process requests and generate dynamic content. A portlet is not an autonomous entity, but it is managed by a portlet container, which provides the necessary runtime environment for the portlet executions. It should be noted that ...

Read More »