Tag Archives: java
When inheritance and mixins become a design issue
Posted on 09. Mar, 2011 by Guilherme Silveira.
One object, more than 300 public methods, 560 instance and 300 class or static methods. It is easy to see that those objects tipically present low cohesion, more than one responsibility, tight coupling and a huge interface. A pattern known as “God Class”. You can create them in Java using class inheritance, or in Ruby [...]
Continue Reading
JAX-RS 2.0 – How to improve it
Posted on 18. Oct, 2010 by Guilherme Silveira.
During Javaone 2010 I was able to meet Paul Sandoz, take a deeper look into Jersey’s code, attend to a session on ideas for the the JAX-RS comittee have for the future and show some of our ideas from Vraptor 3 (server side) and Restfulie (client side). I wish JAX-RS 2 become the easiest and [...]
Continue Reading
RESTEasy: Where did the hypermedia go to?
Posted on 03. Dec, 2009 by guilhermesilveira.
Some friends have asked what are the major differences between Restfulie and RESTEasy client frameworks. Strong coupling and hypermedia awareless As of today, Resteasy requires you to create an interface mapping every resource operation to a specific method, using @VerbName and @Path annotations to specify the desired target URI. RESTEasy is ignoring the power of [...]
Continue Reading
Restfulie Java: quit pretending, start using the web for real
Posted on 25. Nov, 2009 by guilhermesilveira.
Its time to release Restfulie Java, offering the same power encountered in its ruby release, through the use of dynamic bytecode generation and request interception using VRaptor. Serialization framework Restfulie adopts XStream by default. Its simple usage and configuration gets even easier due to vraptor’s serialization extension built upon XStream – but it allows the [...]
Continue Reading
Using the web infrastructure
Posted on 27. Oct, 2009 by guilhermesilveira.
Some recent posts here and at our company’s blog were dealing on how to use the web as an infrastructure for distributing an algorithm, but this post is related to how to supply a service or resource based system using some of the web infrastructure. Last year, at Falando em Java 2009, Jim Webberr spoke [...]
Continue Reading
Fractals in cloud computing with Google App Engine
Posted on 04. Sep, 2009 by guilhermesilveira.
While studying math methods as a minor in my applied math course, I had a mentor, Eduardo Colli, who helped me teaching the math requirements to implement a desktop based discrete dynamical systems software, Pulga. In the dynamical systems area – usually non-linears – people started talking about caothic behaviour of particles and one of [...]
Continue Reading
Dev in rio 2009
Posted on 28. Aug, 2009 by guilhermesilveira.
Some good friends from globo.com (Guilherme) and myfreecomm (Henrique) have invited two speakers from the Caelum team to talk about Java at this year’s Dev in Rio. Guilherme and Henrique will start the event monday morning and after that me and Nico Steppat will talk about how new modern languages (either dynamic, functional, more or [...]
Continue Reading
To break or not to break? Java 7?
Posted on 17. Aug, 2009 by guilhermesilveira.
There is a short slide show to illustrate some thoughts. There will be better ones in the near future. When is the right timing to break compatibility of a public api regarding its previous versions? Well, in the open source communites there is a common sense that a library is allowed to cause some migration [...]
Continue Reading
Comprehensible languages x Expressive code x The other side of the world
Posted on 12. Jul, 2009 by guilhermesilveira.
One reason to care about expressiveness Most developers agree nowadays that mantaining software is an important task, either refactoring it as a task is completed or one year later when new functionalities are added, the cost of maintainability should be kept as low as possible in most cases. Mentioning most cases, i automatically exclude pieces [...]
SUBSCRIBE TO OUR RSS