martes, 22 de abril de 2014

Resistance is Futile, Mocks Will Be Assimilated [Workshop] (25/04)

Hi community!

How were the holidays? We hope you have a nice time and enjoy it.

So, here we are, ready for our next event, this friday 25th and this time we will be focused in testing and mock objects and playing with some great tools about these topics driven by Alex Soto.

Let's think a little about testing. Everybody is mocking in unit test. To test what? Your code will be run within a Java EE container. Let's start writing fast real tests.


Are you confident enough to push your application to production without fear? Will it run correctly with all components? Keep the fail whale at bay? Confidence comes from writing real tests.
In this workshop we are going to see how some tools like Arquillian, Byteman, NoSQLUnit or Moco and other programs, may help us writing real tests in situations where you typically would use mocks.










Come to this workshop and learn how to write faster and more effectively tests!

Here is the script of the event:

- Some Theory
  • What are and what happens with mocks?
  • Are there alternatives?
  • Mocks, stubs and fakes
  • Explanation of typical scenarios where mocks are used: Business Layer, Data Layer, External Services Layer, UI Layer
- Engage!!!
  • Writing real tests in Business Layer with Arquillian
  • Writing real tests for External Services Layer.
  • Writing real tests for Ajax-Enabled UI applications under different browsers (including Mobile ones)
  • The Cloud
- Conclusions

These are the requirements for this workshop:
As we have mentioned, this workshop will be driven by Alex Soto. Alex is a software engineer specialized in enterprise technologies, test automation and continuous delivery based on the Java platform. He has over a decade of experience in the Java world, yet continually renews his skill set by learning new aptitudes and technologies every day. Moreover he is involved in the open source world in projects like NoSQLUnit, Asciidoctor or Arquillian. He is an international speaker, presenting his talks at software conferences like Devoxx, LinuxTag, Codemotion, Guatemala JavaDays, JavaLand or GeeCon.

That's all guys, just remember to reserve your seat at MeetUp and come this friday 25th at 7pm at our usual place, La FontanaAh! Do not worry about the language, this workshop won't be in english ;-)

See you this friday!

lunes, 21 de abril de 2014

Introducción a Liferay - Resumen

Hola juggers !!!!

El pasado 27 de Marzo tuvimos la ocasión de conocer Liferay desde un punto de vista más developer de la mano de José Guitart.

Nos mostró la arquitectura de componentes que usa Liferay : Sites, Páginas, Portlets, Hooks, Plugins.... y pudimos ver de primera mano la creación in-situ de un portlet usando Eclipse como editor.

También nos habló de la fantástica integración con otras herramientas, que es uno de los grandes potenciales de Liferay :


Finalmente nos mostró unas conclusiones muy interesantes de cuándo usar Liferay y cuando no, algo que no siempre es fácil de encontrar cuando pensamos en usar una herramienta.

Ante todo agradecer la dedicación y esfuerzo de José, otra vez y ya van varias :) , que contribuye fantásticamente a la difusión de las tecnologías para la comunidad. 

Aquí os dejamos tanto los slides de la presentación como el video.

Enjoy it !!!!!

Presentacion : http://goo.gl/MKhSaI

Video

sábado, 19 de abril de 2014

Introduction to Apache Cassandra - Summary

Hi devs!

As we announced on the last entry, on April 1st, we attended a terrific Cassandra talk with Colin Clark as the speaker, on which he explained the use of Cassandra they made at Datastax for a distributed concurrent and high availability Stock Exchange monitoring and management application (a very simplified view of what the application actually did, of course).

At first, we were given an overview of the project, what it entailed, what were the client's needs and the protocols used for information exchange. With that information, we were shown how the system was built around those foundations. Colin described the different layers of their system, the ever functioning monitoring and processing layer that aggregated all real time data coming from the stock exchange sources so as to empower business analysts to take sound strategic decisions.



This information processing system couldn't have been made without Cassandra, the key technology, since this NOSQL database is designed from the ground up to be scalable, thanks to it's distributed node architecture. As was debated later on the questions round, the alternatives weren't up to the needs of the application, in performance, availability and cost (both in time to implement and on licenses to pay).





Colin Clark also gave us some pointers on best (and worst) practices to migrate a relational database backed application to a nosql like Cassandra.

All in all, a very good talk, and one that will open further collaborations with Datastax. Stay tuned for more info on that the next months, big things are yet to come this year!






Talk's video:



miércoles, 2 de abril de 2014

Java 8 Lambdas and Devices (14/04) with Stephen Chin

Hi JUGgers!

Our next event will be really special and that's why we are really proud of it.

Next 14th of April, we will have the pleasure to host a talk named "Java 8 Lambdas and Devices" presented by a Java Champion and great speaker: Stephen Chin. For all of you who do not know who is Stephen, let's add few lines of his experience: he is a Java Ambassador at Oracle specializing in embedded and UI technology, co-author of the Pro JavaFX Platform 2 title, and the JavaOne Content Chair. He has been featured at Java conferences around the world including Devoxx, JFokus, OSCON, JFall, GeeCON, JustJava, and JavaOne, where he thrice received a Rock Star Award. Stephen can be followed on twitter @steveonjava, reached via his blog: http://steveonjava.com/, and his hacking adventures can be seen on: http://nighthacking.com/

Stephen is spreading the word about Java 8 in a (crazy?roadtrip around Europe and Asia and he will stop his motorcycle in Barcelona next monday 14th to speak at our JUG. It will be a pleasure for us! And we are sure it will be an interesting talk for all of you guys.

Related with the abstract, Stephen will talk about Java 8 and why is the most impactful update to the Java ecosystem since Java 5, introducing an entirely new programming model with lambda expressions, and a whole new platform of applications with support for ARM embedded devices.  In this presentation, you will learn how to take advantage of the new lambda-enabled Java 8 APIs including enhanced collections, functional interfaces, and simplified event handlers.  Also, you will see live demonstrations of Java 8 technology running on embedded platforms such as Raspberry Pi and Lego Mindstorms EV3, allowing Java-based applications to support the internet-of-things.

This time we will be hosting the event at the Official College of Technical Engineer in Computer Science in Catalonia (COETIC), based in C. Via Laietana, 39. so thank you for their support and allowing us to use their hall!


That's all folks! We invite all of you to come and learn how to build the future of Java with nice demos next monday 14/04! We will start at 18h so grab this day (and hour) in your calendar, and remember to reserve your seat at MeetUp. There are limited spots!
Register to the Event

Let's rock with Java 8!