Home » Author Archives: Alex Soto

Author Archives: Alex Soto

Container Object pattern. A new pattern for your tests.

java-interview-questions-answers

If you search for a description of what Page Object is, you’ll find that The Page Object Pattern gives us a common sense way to model content in a reusable and maintainable way. And also points that: Within your web app’s UI there are areas that your tests interact with. A Page Object simply models these as objects within the ...

Read More »

Java EE, Gradle and Integration Tests

gradle-logo

In the last years Apache Maven has become the de-facto build tool for Java and Java EE  projects. But from two years back Gradle is gaining more and more users. Following my previous post ( http://www.lordofthejars.com/2015/10/gradle-and-java-ee.html), In this post you are going to see how to use Gradle  for writing integration tests for Java EE using Arquillian. Gradle is a ...

Read More »

Apache Mesos + Marathon and Java EE

java-interview-questions-answers

Apache Mesos is an open-source cluster manager that provides efficient resource isolation and sharing across distributed applications or frameworks. Apache Mesos abstracts CPU, memory, storage, and other compute resources away from machines (physical or virtual), enabling fault-tolerant and elastic distributed systems to easily be built and run effectively. It uses dynamic allocation of applications inside machines. In summary Apache Mesos ...

Read More »

Self-Signed Certificate for Apache TomEE (and Tomcat)

apache-tomcat-logo

Probably in most of your Java EE projects you will have part or whole system with SSL support (https) so browsers and servers can communicate over a secured connection. This means that the data being sent is encrypted, transmitted and finally decrypted before processing it. The problem is that sometimes the official “keystore” is only available for production environment and ...

Read More »

Apache TomEE + JMS. It has never been so easy.

java-interview-questions-answers

I remember old days of J2EE (1.3 and 1.4) that it was incredibly hard to start a project using JMS. You needed to install a JMS broker, create topics or queues and finally start your own battle with server configuration files and JNDI. Thanks of JavaEE 6 and beyond using JMS is really easy and simple. But with Apache TomEE ...

Read More »

One Jar To Rule Them All: Arquillian + Java 8

java-interview-questions-answers

With Java 8, a lot of new language improvements have been implemented for making life of developer easier. In my opinion, one of the greatest things it has Java 8 is that in some situations developed code looks more beautiful that using prior approaches, and I am referring in Lambdas and Method references. This post is not about learning these ...

Read More »

Arquillian Cube. Let’s zap ALL these bugs, even the infrastructure ones.

arquillian-logo

Docker is becoming the de-facto project for deploying applications inside lightweight software containers in isolation. Because they are really lightweight they are perfect not only to use in production, but to be used inside developer/qa/CI machine. So the natural step is start writing tests of your software that runs against these containers. In fact if you are running Docker on ...

Read More »

One Jar To Rule Them All: Apache TomEE + Shrinkwrap == JavaEE Boot

spring-interview-questions-answers

WARNING: I am not an expert of Spring Boot. There are a lot of things that I find really interesting about it and of course that can really improve your day-to-day work. Moreover I don’t have anything against Spring Boot nor people who develop it or use it. But I think that community are overestimating/overvenerating this product. A year ago ...

Read More »

Defend your Application with Hystrix

java-interview-questions-answers

In previous post http://www.javacodegeeks.com/2014/07/rxjava-java8-java-ee-7-arquillian-bliss.html we talked about microservices and how to orchestrate them using Reactive Extensions using (RxJava). But what’s happen when one or many services fail because they have been halted or they throw an exception? In a distributed system like microservices architecture it is normal that a remote service may fail so communication between them should be fault tolerant ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials