pfelitti87.blogspot.com
Enterprise development ideas: June 2012
http://pfelitti87.blogspot.com/2012_06_01_archive.html
A place to keep track of enterprise software development stuff. Saturday, June 16, 2012. Native database support with MyBatis Spring 3. So, we will see an example of a persistence layer being implemented with MyBatis Spring with some explanation on the relevant sections. The full example can be downloaded too. So, let's see the example! Spring 3.1.1-RELEASE. MyBatis-spring 1.1.0. Here we use PostgreSQL, you may use another database but you must check -! This example returns a book by id - select id="getB...
pfelitti87.blogspot.com
Enterprise development ideas: July 2012
http://pfelitti87.blogspot.com/2012_07_01_archive.html
A place to keep track of enterprise software development stuff. Sunday, July 22, 2012. REST services with RESTEasy (XML, JSON). In the previous post. I wrote about creating REST services (either JSON or XML) with Spring 3.1.1-Final. Now I will post about doing basically the same with RESTEasy which is another product, this time from JBoss. RESTEasy 2.3.4.Final. Project xmlns="http:/ maven.apache.org/POM/4.0.0" xmlns:xsi="http:/ www.w3.org/2001/XMLSchema-instance" xsi:schemaLocatio...RESTEasy dependencies...
pfelitti87.blogspot.com
Enterprise development ideas: July 2013
http://pfelitti87.blogspot.com/2013_07_01_archive.html
A place to keep track of enterprise software development stuff. Thursday, July 18, 2013. How to explain what Java is? Some time ago, someone asked me how I would explain someone else what Java is, ".imagine that person is someone who has little experience with Java (hence a Junior), or someone who comes from a .NET project, or a manager" he said. I thought that I should provide a high level explanation, simple and easy to understand but should provide enough detail too. Java is a general purpose language.
pfelitti87.blogspot.com
Enterprise development ideas: Restful Generic DAO with Spring 3 + JPA + unit testing + integration testing
http://pfelitti87.blogspot.com/2013/05/restful-generic-crud-with-spring-3-jpa.html
A place to keep track of enterprise software development stuff. Tuesday, May 28, 2013. Restful Generic DAO with Spring 3 JPA unit testing integration testing. This time, we will create a generic DAO layer, a Service layer and a REST layer which exposes the Service layer to whoever wants to consume it. Unit tests and Integration tests will be created too. Everything is implemented with Spring 3. Spring 3.2.2.RELEASE. Hibernate 4.2.1.Final. With the Maven Jetty Plugin you can manually run mvn jetty:run.
pfelitti87.blogspot.com
Enterprise development ideas: May 2013
http://pfelitti87.blogspot.com/2013_05_01_archive.html
A place to keep track of enterprise software development stuff. Tuesday, May 28, 2013. Restful Generic DAO with Spring 3 JPA unit testing integration testing. This time, we will create a generic DAO layer, a Service layer and a REST layer which exposes the Service layer to whoever wants to consume it. Unit tests and Integration tests will be created too. Everything is implemented with Spring 3. Spring 3.2.2.RELEASE. Hibernate 4.2.1.Final. With the Maven Jetty Plugin you can manually run mvn jetty:run.
pfelitti87.blogspot.com
Enterprise development ideas: GoF patterns: Strategy
http://pfelitti87.blogspot.com/2013/06/gof-patterns-strategy-pattern.html
A place to keep track of enterprise software development stuff. Monday, June 3, 2013. This pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable at runtime. This pattern is used when you have some logic and you want it to vary independently of the client who uses it while still having an extensible model. Because each algorithm exists in a different class and access all that logic with a method. Why Interchangeable? These are the different strategies we have:.
pfelitti87.blogspot.com
Enterprise development ideas: December 2012
http://pfelitti87.blogspot.com/2012_12_01_archive.html
A place to keep track of enterprise software development stuff. Tuesday, December 4, 2012. Datasource and database driver in JBoss 7 without module definition. So, you just downloaded JBoss 7 and want to give it a try. You notice that the whole directory structure changed completely but do not want to "waste time with new administration stuff" and want to use another datasource other that the default one which comes with H2 (an in-memory database). Now just run JBOSS HOME /bin/standalone.sh. Additional i...
pfelitti87.blogspot.com
Enterprise development ideas: JavaUtils and Apache Common Collections
http://pfelitti87.blogspot.com/2013/02/javautils-and-apache-common-collections.html
A place to keep track of enterprise software development stuff. Wednesday, February 27, 2013. JavaUtils and Apache Common Collections. When it comes to the importance not to repeat yourself while writing code, it is even important to take a look at most common activities. For example, instead of writing a lot of nested for. Statements, making your code illegible, you can use already Java built-in features. Let's take a look at some really simple utils:. Data to base our examples on:. Public class AdultPr...
pfelitti87.blogspot.com
Enterprise development ideas: Datasource and database driver in JBoss 7 without module definition
http://pfelitti87.blogspot.com/2012/12/datasource-and-database-driver-in-jboss.html
A place to keep track of enterprise software development stuff. Tuesday, December 4, 2012. Datasource and database driver in JBoss 7 without module definition. So, you just downloaded JBoss 7 and want to give it a try. You notice that the whole directory structure changed completely but do not want to "waste time with new administration stuff" and want to use another datasource other that the default one which comes with H2 (an in-memory database). Now just run JBOSS HOME /bin/standalone.sh. Additional i...
SOCIAL ENGAGEMENT