Java Code Geeks » Andrey Redko http://www.javacodegeeks.com/ Java 2 Java Developers Resource Center Wed, 01 Apr 2015 04:00:15 +0000 en-US hourly 1 http://wordpress.org/?v=4.1.1 A fresh look on accessing database on JVM platform: Slick from Typesafehttp://www.javacodegeeks.com/2015/03/a-fresh-look-on-accessing-database-on-jvm-platform-slick-from-typesafe.html http://www.javacodegeeks.com/2015/03/a-fresh-look-on-accessing-database-on-jvm-platform-slick-from-typesafe.html#comments Wed, 04 Mar 2015 23:00:10 +0000 http://www.javacodegeeks.com/?p=37704 In today’s post we are going to open our mind, step away from traditional Java EE / Java SE JPA-based stack (which I think is great) and take a refreshing look on how to access database in your Java applications using the new kid on the block: Slick 2.1 from Typesafe. So if JPA is ...

 

]]>
http://www.javacodegeeks.com/2015/03/a-fresh-look-on-accessing-database-on-jvm-platform-slick-from-typesafe.html/feed/ 0
Beyond the JAX-RS spec: Apache CXF search extensionhttp://www.javacodegeeks.com/2014/12/beyond-the-jax-rs-spec-apache-cxf-search-extension.html http://www.javacodegeeks.com/2014/12/beyond-the-jax-rs-spec-apache-cxf-search-extension.html#comments Thu, 11 Dec 2014 17:00:44 +0000 http://www.javacodegeeks.com/?p=34281 In today’s post we are going to look beyond the JAX-RS 2.0 specification and explore the useful extensions which Apache CXF, one of the popular JAX-RS 2.0 implementations, is offering to the developers of REST services and APIs. In particular, we are going to talk about search extension using subset of the OData 2.0 query ...

 

]]>
http://www.javacodegeeks.com/2014/12/beyond-the-jax-rs-spec-apache-cxf-search-extension.html/feed/ 0
Embedded Jetty and Apache CXF: secure REST services with Spring Securityhttp://www.javacodegeeks.com/2014/09/embedded-jetty-and-apache-cxf-secure-rest-services-with-spring-security.html http://www.javacodegeeks.com/2014/09/embedded-jetty-and-apache-cxf-secure-rest-services-with-spring-security.html#comments Tue, 30 Sep 2014 10:00:23 +0000 http://www.javacodegeeks.com/?p=30875 Recently I run into very interesting problem which I thought would take me just a couple of minutes to solve: protecting Apache CXF (current release 3.0.1)/ JAX-RS REST services with Spring Security (current stable version 3.2.5) in the application running inside embedded Jetty container (current release 9.2). At the end, it turns out to be ...

 

]]>
http://www.javacodegeeks.com/2014/09/embedded-jetty-and-apache-cxf-secure-rest-services-with-spring-security.html/feed/ 0
OSGi: the gateway into micro-services architecturehttp://www.javacodegeeks.com/2014/08/osgi-the-gateway-into-micro-services-architecture.html http://www.javacodegeeks.com/2014/08/osgi-the-gateway-into-micro-services-architecture.html#comments Thu, 14 Aug 2014 16:00:33 +0000 http://www.javacodegeeks.com/?p=28803 The terms “modularity” and “microservices architecture” pop up quite often these days in context of building scalable, reliable distributed systems. Java platform itself is known to be weak with regards to modularity (Java 9 is going to address that by delivering project Jigsaw), giving a chance to frameworks like OSGi and JBoss Modules to emerge. ...

 

]]>
http://www.javacodegeeks.com/2014/08/osgi-the-gateway-into-micro-services-architecture.html/feed/ 0
Apache CXF 3.0: CDI 1.1 support as alternative to Springhttp://www.javacodegeeks.com/2014/06/apache-cxf-3-0-cdi-1-1-support-as-alternative-to-spring.html http://www.javacodegeeks.com/2014/06/apache-cxf-3-0-cdi-1-1-support-as-alternative-to-spring.html#comments Thu, 26 Jun 2014 07:00:15 +0000 http://www.javacodegeeks.com/?p=26047 With Apache CXF 3.0 just being released a couple of weeks ago, the project makes yet another important step to fulfill the JAX-RS 2.0 specification requirements: integration with CDI 1.1. In this blog post we are going to look on a couple of examples of how Apache CXF 3.0 and Apache CXF 3.0 work together. ...

 

]]>
http://www.javacodegeeks.com/2014/06/apache-cxf-3-0-cdi-1-1-support-as-alternative-to-spring.html/feed/ 0
Java 8 Features Tutorial – The ULTIMATE Guide (PDF Download)http://www.javacodegeeks.com/2014/05/java-8-features-tutorial.html http://www.javacodegeeks.com/2014/05/java-8-features-tutorial.html#comments Fri, 09 May 2014 08:36:41 +0000 http://www.javacodegeeks.com/?p=25097 EDITORIAL NOTE: It’s been a while since Java 8 is out in the public and everything points to the fact that this is a really major release. We have provided an abundance of tutorials here at Java Code Geeks, like Playing with Java 8 – Lambdas and Concurrency, Java 8 Date Time API Tutorial : ...

 

]]>
http://www.javacodegeeks.com/2014/05/java-8-features-tutorial.html/feed/ 24
Apache CXF 3.0: JAX-RS 2.0 and Bean Validation 1.1 finally togetherhttp://www.javacodegeeks.com/2014/04/apache-cxf-3-0-jax-rs-2-0-and-bean-validation-1-1-finally-together.html http://www.javacodegeeks.com/2014/04/apache-cxf-3-0-jax-rs-2-0-and-bean-validation-1-1-finally-together.html#comments Sat, 05 Apr 2014 12:00:21 +0000 http://www.javacodegeeks.com/?p=23524 The upcoming release 3.0 (currently in milestone 2 phase) of the great Apache CXF framework is bringing a lot of interesting and useful features, getting closer to deliver full-fledged JAX-RS 2.0 support. One of those features, a long-awaited by many of us, is the support of Bean Validation 1.1: easy and concise model to add ...

 

]]>
http://www.javacodegeeks.com/2014/04/apache-cxf-3-0-jax-rs-2-0-and-bean-validation-1-1-finally-together.html/feed/ 4
Your build tool is your good friend: what sbt can do for Java developerhttp://www.javacodegeeks.com/2014/01/your-build-tool-is-your-good-friend-what-sbt-can-do-for-java-developer.html http://www.javacodegeeks.com/2014/01/your-build-tool-is-your-good-friend-what-sbt-can-do-for-java-developer.html#comments Mon, 20 Jan 2014 08:00:05 +0000 http://www.javacodegeeks.com/?p=20791 I think for developers picking the right build tool is a very important choice. For years I have been sticking to Apache Maven and, honestly, it does the job well enough, even nowadays it’s a good tool to use. But I always feel it could be done much better … and then Gradle came along ...

 

]]>
http://www.javacodegeeks.com/2014/01/your-build-tool-is-your-good-friend-what-sbt-can-do-for-java-developer.html/feed/ 0
Java WebSockets (JSR-356) on Jetty 9.1http://www.javacodegeeks.com/2013/12/java-websockets-jsr-356-on-jetty-9-1.html http://www.javacodegeeks.com/2013/12/java-websockets-jsr-356-on-jetty-9-1.html#comments Tue, 03 Dec 2013 17:00:44 +0000 http://www.javacodegeeks.com/?p=19358 Jetty 9.1 is finally released, bringing Java WebSockets (JSR-356) to non-EE environments. It’s awesome news and today’s post will be about using this great new API along with Spring Framework. JSR-356 defines concise, annotation-based model to allow modern Java web applications easily create bidirectional communication channels using WebSockets API. It covers not only server-side, but ...

 

]]>
http://www.javacodegeeks.com/2013/12/java-websockets-jsr-356-on-jetty-9-1.html/feed/ 2
Coordination and service discovery with Apache Zookeeperhttp://www.javacodegeeks.com/2013/11/coordination-and-service-discovery-with-apache-zookeeper.html http://www.javacodegeeks.com/2013/11/coordination-and-service-discovery-with-apache-zookeeper.html#comments Fri, 01 Nov 2013 17:00:22 +0000 http://www.javacodegeeks.com/?p=18639 Service-oriented design has proven to be a successful solution for a huge variety of different distributed systems. When used properly, it has a lot of benefits. But as number of services grows, it becomes more difficult to understand what is deployed and where. And because we are building reliable and highly-available systems, yet another question ...

 

]]>
http://www.javacodegeeks.com/2013/11/coordination-and-service-discovery-with-apache-zookeeper.html/feed/ 5