Jan @Novoj Novotný
public interface PersonDao {
void create(String firstName, String lastName, LocalDate birthDate);
void store(Person person);
Person getById();
boolean removeById();
}
Just to name a few:
Using automatic class (code) generation in:
Both approaches have their pros and cons.
Branch: tutorial01
Branch: tutorial02
Branch: tutorial03
Branch: tutorial04
What if we need custom logic on a proxy?
What if we want to mix and match custom logic with automatic one?
Default / abstract methods to the rescue.
Branch: tutorial05
Nothing much new here
Branch: tutorial06
Let's get advantage of parameters!
Branch: tutorial07
Branch: master
We can't simply serialize proxy - class might not be known at the moment of deserialization.
We need to serialize "recipe" how to reconstruct the class.
org.sonatype.plugins
jarjar-maven-plugin
1.9
package
jarjar
true
org.javassist:javassist
javassist.**
cz.novoj.generation.internal.javassist.@1
Contact me at @Novoj or novotnaci@gmail.com