by yanai
border:

Thanks to all who attended this session. Here are the slides from it.

border:

Micro Services

I was at a session for micro services. There were many sessions covering different aspects of micro services (for seeing of the sessions, have a look at: http://www.meetup.com/full-stack-developer-il/events/155911442). I would like to summarize some of the issues raised and to give my two cents on the topic.

by yanai
border:

Hi,

Here are the "Processing Big-Data in Real Time" video and slides from Micro-Services Meetup.

Kafka is a high-throughput distributed messaging system, and Storm is a distributed and fault-tolerant real-time computation. Both technologies can be elastically and transparently expanded without downtime. This session presents the main concepts of Kafka and Storm , and then we'll show how a simple stream-processing "micro-service" module is implemented and integrated with an existing application using these two technologies.

 

border:

@Configuration vs xml with prototypes

 
There are two sides to using spring. One is the injection side, and the annotations are  @Autowire, @Inject, @Resource (see http://javaandroidandrest.blogspot.co.il/2013/05/spring-bean-overriding-between-projects.html). The other side is the definition of beans: @Component, @Repository, @Server.

border:

Eclipse – Jenkins

 
Of course my assumption is that you are practicing continuous integration. If not you should begin with it right away. For more information see http://en.wikipedia.org/wiki/Continuous_integration.

tags:
border:

XML Subsets

Most applications today use XML for some form of data
saving. In testing we also need to validate XML files, find entries in the XML
via XPath and search for differences in the XML.

A lot of these abilities can be found in the lib of XMLUnit
(http://xmlunit.sourceforge.net/)

This lib knows how to compare XML files, and other actions
like:

border:
by andrew
border:

I've encountered a strange lack of ability in Hibernate Criteria API. Suppose you have an entity called User with many-to-many relationship to groups. If you need to find all users appearing in one or more of given groups, you can write an HQL like

u from User u join u.groups g where g.id in :groups

This query will do the job, but if a user appears in a few groups, it will appear few times in the result set. To fix that, we can use "distinct" keyword:

border:
WSDL 2 Java
So you decided to do wsdl 2 java design. This is currently the more “proper” way to go about it. For more information about this debate see: http://docs.spring.io/spring-ws/site/reference/html/tutorial.html. You have the wsdl but how do you generate the code?
border:

 

Designing a centralized service for all user data by implementing authentication and authorization (a&a) mechanism.

Pages