Home » Author Archives: Bear Giles (page 2)

Author Archives: Bear Giles

Creating Sonarqube Projects

sonar-logo

Sonarqube (nee Sonar) is da bomb. It’s not something you have to check daily but if you’re serious about quality you’ll check it during sprint planning if not weekly. Check out a sample project at nemo.sonarqube.com, e.g., OpenJPA, to get an idea of what information is available. You might want to focus on a specific component at first, e.g., OpenJPA ...

Read More »

The Definitive Guide to Coding Style Standards

software-development-2-logo

I’ve been rereading Jeff Atwood (Coding Horror) and Joel Spolsky (Joel on Software) and came across a discussion of coding style standards. It reminded me of the blog entry I was going to write “some day”. Today is “some day”. First I should ruin the joke by pointing it out – this is the “definitive guide” since nobody ever seems ...

Read More »

Project Student: Maintenance Webapp (editable)

java-interview-questions-answers

This is part of Project Student. Other posts are Webservice Client With Jersey, Webservice Server with Jersey, Business Layer, Persistence with Spring Data, Sharding Integration Test Data, Webservice Integration, JPA Criteria Queries and Maintenance Webapp (read-only). Last time we created a simple webapp that allows us to take a quick peek into the database. It had very limited functionality – ...

Read More »

Project Student: Simplifying Code With AOP

aspectj-logo

This is part of Project Student. Many people strongly believe that methods should fit within your editor window (say, 20 lines), and some people believe that methods should be even smaller than that. The idea is that a method should do one thing and only one thing. If it does more than that it should be broken apart into multiple ...

Read More »

Project Student: Maintenance Webapp (read-only)

java-interview-questions-answers

This is part of Project Student. Other posts are Webservice Client With Jersey, Webservice Server with Jersey, Business Layer, Persistence with Spring Data, Sharding Integration Test Data, Webservice Integration and JPA Criteria Queries. When I started this project I had four goals. In no particular order they were to:             learn about jQuery and other ...

Read More »

Project Student: JPA Criteria Queries

java-interview-questions-answers

This is part of Project Student. Other posts are Webservice Client With Jersey, Webservice Server with Jersey, Business Layer, Persistence with Spring Data, Sharding Integration Test Data and Webservice Integration. We’ve covered basic CRUD operations but that doesn’t take us very far. Spring Data makes it easy to include basic searches but it’s important to have other standard options. One ...

Read More »

Project Student: Webservice Integration

java-logo

This is part of Project Student. Other posts are Webservice Client With Jersey, Webservice Server with Jersey, Business Layer, Persistence with Spring Data and Sharding Integration Test Data. Earlier we successfully ran integration tests for both the persistence/business layer (using an embedded H2 database) and the REST server/client layers (using a Jetty server). It’s time to knit everything together. Fortunately ...

Read More »

Check your REST parameters!

java-interview-questions-answers

I was doing research related to my ongoing “project student” series and realized that I had made one of the most common – and most easily remedied – mistakes. I wasn’t using everything I know about the webapp to push my security perimeter outwards. I am thinking specifically about the UUID parameters. I know that every valid externally visible ID ...

Read More »

How Many Lines Of Code Do You Write Every Day?

software-development-2-logo

I was recently asked a bizarre question in an interview – “how many lines of code do you write every day?” I’ve been thinking about that question for a week and realized that it makes sense since she was a C person before migrating to other work a few years ago, not a contemporary java person. To explain, I can ...

Read More »

Project Student: Sharding Integration Test Data

spring-interview-questions-answers

This is part of Project Student. Other posts are Webservice Client With Jersey, Webservice Server with Jersey, Business Layer and Persistence with Spring Data. All of the integration tests until now have used an in-memory embedded database that did not retain information from run to run. This changes when we fully integrate the REST server with a “real” database server ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close