Blog: Blog of Adam Warski

Trying to understand CAP

The CAP theorem, stated by Brewer and proved by Gilbert and Lynch specifies a property of distributed systems. It states that such a system cannot guarantee at the same time Consistency, Availability ...

Wyświetlenia 1099

OK 0

NOK 0

Envers: track entity types changed in revisions

?ukasz Antoniak, who is a regular contributor to Envers (thanks!), recently finished working on HHH-5580, a feature which enables you to quickly retrieve the entity types that have been modified in a ...

Wyświetlenia 441

OK 0

NOK 0

Static typing is a great static analysis tool

Statically-typed languages are great because, well, they have static typing. However very often developing using a dynamically-typed language is much more convenient. Take writing a webapp in Ruby On ...

Wyświetlenia 406

OK 0

NOK 0

After Confitura 2011

Confitura 2011 went past very quickly, it was a great conference and a great occasion to meet with the polish Java community on the SPOINA after-party. During the conference I had the opportunity to p...

Wyświetlenia 462

OK 0

NOK 0

CDI Portable Extensions on Confitura 2011

In less than two weeks (11th June) I will have the opportunity to present a talk on CDI & Portable Extensions during the Confitura 2011 conference, organized by the Warsaw JUG. The talk will cons...

Wyświetlenia 469

OK 0

NOK 0

Envers & TorqueBox on RivieraJUG – May 6th

This Friday (6th of May) I will have the pleasure to present two talks: one on Envers and one on Torquebox, thanks to an invitation from the RivieraJUG. Envers is a data auditing/versioning module of ...

Wyświetlenia 505

OK 0

NOK 0

DI in Scala: Cake Pattern pros & cons

I’ve been looking at alternatives for java-style DI and DI containers which would use pure Scala; a promising candidate is the Cake Pattern (see my earlier blog post for information on how the C...

Wyświetlenia 454

OK 0

NOK 0

Envers and Hibernate 4.0.0.Alpha2 – automatic listener registration

Development of Hibernate4 is well under way, with the Alpha2 version released recently. It contains one major improvement which is quite significant for Envers, namely Integrators (see HHH-5562 &...

Wyświetlenia 543

OK 0

NOK 0

Ruby on Rails + CDI/Weld on Torquebox example app

For almost a year we’ve been successfully using Torquebox together with CDI/Weld as a base for two of our services: JBison and Circular. As we’ll be doing some presentations together with ...

Wyświetlenia 512

OK 0

NOK 0

Timing interceptor for CDI/Weld

Lately we did some performance tuning, and in order to find out which methods are the hotspots I wrote a simple timing interceptor (it uses some code from a Seam forum post by Tobias Hill). Apart from...

Wyświetlenia 319

OK 0

NOK 0

Dependency Injection in Scala: Extending the Cake Pattern

Continuing the mini-series on Dependency Injection (see my previous blogs: problems with DI, assisted inject for CDI and improving assisted inject), I took a look at how DI is handled in Scala. There ...

Wyświetlenia 485

OK 0

NOK 0

Improving autofactories/assisted inject

In my two previous posts I wrote about some problems with DI and a solution to part of those problems: assisted inject (as known in Guice)/autofactories (my implementation for CDI). Some problems rema...

Wyświetlenia 338

OK 0

NOK 0

DB test: run tests with a database using Arquillian

DB test is a set of helper classes which let you run tests that use a database. By default each test has a separate, in-memory H2 database, providing fast startup time and isolation. A fairly large te...

Wyświetlenia 311

OK 0

NOK 0

DI and OO: Assisted Inject in CDI / Weld

My last post sparked quite a lot of interest – thanks for all the comments both on the blog and on dzone! Some of them rightly pointed out that the original post contains a mistake (*) (but luck...

Wyświetlenia 330

OK 0

NOK 0

Dependency injection discourages object-oriented programming?

Suppose you have a Product entity and that you want to implement a method which sends the product to a customer (let’s call it ship). For that method to work, you need a service for calculating ...

Wyświetlenia 360

OK 0

NOK 0

New Envers contributor

I’d like to welcome Erik-Berndt Scheper as our new Envers contributor. His first commit was yesterday (rev 20717 and 20718), resolving the HHH-5560 issue. Erik was submitting for some time very ...

Wyświetlenia 327

OK 0

NOK 0

Envers at JBoss One Day Talk 2010

I will be presenting Envers (data auditing in Hibernate) at JBoss One Day Talk 2010 in Munich, on the 1st of October. There’s still time to register, and if you already did, don’t miss the...

Wyświetlenia 309

OK 0

NOK 0

Envers query performance improvements with end-revision column

Thanks to the patch provided by Matthew B. Jones, and improved by Erik-Berndt Scheper, the new Envers ValidTimeAuditStrategy (which will be renamed to ValidityAuditStrategy in upcoming releases) now l...

Wyświetlenia 331

OK 0

NOK 0

Envers 1.2.3-hibernate-3.3 – backport release

Hernan Chanfreau backported some of the recent Envers changes and fixes from the 3.5 branch. The detailed list of the backported issues can be found in this forum post. I applied the patch and release...

Wyświetlenia 350

OK 0

NOK 0

Polskie blogi o JAVIE

                                                                                                                                       

dailylog

Wpisów: 34

Ostatni (2014-10-06):
PageLogic

    

jdn.pl

Wpisów: 163

Ostatni (2015-01-09):
Chamberconf