Java Code Geeks » Francisco Ribeiro Junior http://www.javacodegeeks.com/ Java 2 Java Developers Resource Center Fri, 06 Mar 2015 20:00:30 +0000 en-US hourly 1 http://wordpress.org/?v=4.1.1 Redis sort with Jedishttp://www.javacodegeeks.com/2014/02/redis-sort-with-jedis.html http://www.javacodegeeks.com/2014/02/redis-sort-with-jedis.html#comments Thu, 06 Feb 2014 20:00:27 +0000 http://www.javacodegeeks.com/?p=21408 In this post we will talk about the Redis SORT command. Redis provides the SORT command that we can use to retrieve or store sorted values from a LIST, SET or ZSET. The simplest form we can use the command over a KEY like the example below:           SORT numbers_list This […]

 

]]>
http://www.javacodegeeks.com/2014/02/redis-sort-with-jedis.html/feed/ 0
Simple Message Queue using Redishttp://www.javacodegeeks.com/2014/01/simple-message-queue-using-redis.html http://www.javacodegeeks.com/2014/01/simple-message-queue-using-redis.html#comments Thu, 30 Jan 2014 08:00:07 +0000 http://www.javacodegeeks.com/?p=21144 In this posts we will use Redis as a simple message queue, using list commands. Let’s say we have an application that allows the users to upload a photo. Then in the application we display the photo in different sizes like Thumb, Medium and Large. In a first implementation we could have the task of […]

 

]]>
http://www.javacodegeeks.com/2014/01/simple-message-queue-using-redis.html/feed/ 0
Using an Embedded Tomcat with Maven tomcat pluginhttp://www.javacodegeeks.com/2014/01/using-an-embedded-tomcat-with-maven-tomcat-plugin.html http://www.javacodegeeks.com/2014/01/using-an-embedded-tomcat-with-maven-tomcat-plugin.html#comments Fri, 24 Jan 2014 14:00:20 +0000 http://www.javacodegeeks.com/?p=20967 When developing a java web application using the Eclipse WTP, we need to have an installation of tomcat in the machine in order to execute the application. If you are using Maven on your project, you can use the tomcat plugin to run an embedded tomcat installation and test the application. It is very simple […]

 

]]>
http://www.javacodegeeks.com/2014/01/using-an-embedded-tomcat-with-maven-tomcat-plugin.html/feed/ 1
Simple CRUD using Servlet 3.0, Redis/Jedis and CDI – Part 2http://www.javacodegeeks.com/2013/11/simple-crud-using-servlet-3-0-redisjedis-and-cdi-part-2.html http://www.javacodegeeks.com/2013/11/simple-crud-using-servlet-3-0-redisjedis-and-cdi-part-2.html#comments Thu, 14 Nov 2013 20:00:49 +0000 http://www.javacodegeeks.com/?p=18881 In this post we will focus on CDI and Servlet 3.0. You can see part 1 here. Let’s start with CDI. When I started writing the post that originated this serie, I was not thinking in writing about CDI. To be sincere I’ve never used that before. The idea of the post was to create […]

 

]]>
http://www.javacodegeeks.com/2013/11/simple-crud-using-servlet-3-0-redisjedis-and-cdi-part-2.html/feed/ 0
Using Sorted Sets with Jedis APIhttp://www.javacodegeeks.com/2013/11/using-sorted-sets-with-jedis-api.html http://www.javacodegeeks.com/2013/11/using-sorted-sets-with-jedis-api.html#comments Thu, 31 Oct 2013 23:39:07 +0000 http://www.javacodegeeks.com/?p=18590 In the previous post we started looking into Jedis API a Java Redis Client. In this post we will look into the Sorted Set(zsets). Sorted Set works like a Set in the way it doesn’t allow duplicated values. The big difference is that in Sorted Set each element has a score in order to keep the […]

 

]]>
http://www.javacodegeeks.com/2013/11/using-sorted-sets-with-jedis-api.html/feed/ 0
Simple CRUD using Servlet 3.0, Redis/Jedis and CDI – Part 1http://www.javacodegeeks.com/2013/10/simple-crud-using-servlet-3-0-redisjedis-and-cdi-part-1.html http://www.javacodegeeks.com/2013/10/simple-crud-using-servlet-3-0-redisjedis-and-cdi-part-1.html#comments Wed, 30 Oct 2013 14:00:06 +0000 http://www.javacodegeeks.com/?p=18400 In this post we will build a simple user crud. The data will be stored in Redis. To interact with Redis we will use Jedis library. CDI for Depedency Injection and Servlet 3.0 for the view. Let’s start with the Redis/Jedis part. You can find some overview on Redis and Jedis in these posts. Let’s […]

 

]]>
http://www.javacodegeeks.com/2013/10/simple-crud-using-servlet-3-0-redisjedis-and-cdi-part-1.html/feed/ 0
Getting Started With Jedishttp://www.javacodegeeks.com/2013/10/getting-started-with-jedis.html http://www.javacodegeeks.com/2013/10/getting-started-with-jedis.html#comments Tue, 22 Oct 2013 10:00:13 +0000 http://www.javacodegeeks.com/?p=18303 Hi, these days I started looking into Redis. I’ve heard a lot about it so I decided to have a try. Redis is defined in its websites as “an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets“. […]

 

]]>
http://www.javacodegeeks.com/2013/10/getting-started-with-jedis.html/feed/ 4