Author Archives: ante.brkic

About ante.brkic

Java EE developer with a long history of programming languages and techonologies. Loves sport, games, movies, books, animals, Google, everything new, everything good.

Using mock objects for Stripes-Spring testing

It is very easy to create a mock objects of your Spring layer, and not only does it allow you to create a consistent junit tests, but in the process you will end up with a mocked spring layer which you can use for fast front-end development!
Let’s see how.

Read more

Leave a comment · Posted in Blog, Five Minutes, Java, Software testing, Technology

Using Drag&Drop on tree structure with SmartGwt

The TreeIt has never been as easy to create a thin client web application as it is with the tools such as GWT and it’s third party library SmartGwt. This is a deadly combination which has out-of-the-box support for drag&drop, asynchronous remote procedure calls, localization, history management and much more inherited from GWT (Google Web Toolkit) and accompanied with numerous customizable widgets (lists, trees, buttons, layout support widgets, HTML5 support…). In this text, a simple drag&drop implementation will be demonstrated.

Read more

Leave a comment · Posted in Blog, Java, Technology

What happened with strong artificial intelligence?

“Hello Steve, do you have some time?”

“I have 98% free in the next three hours. Why do you ask George?”

“Well, i need to write some blog post but i really hate it so i thought that you might show a little respect to the price i paid for you…”

“But you bought me with a discount, remember George, you didn’t even wanted to pay little extra 5k to buy my advanced joke center, remember?”

“I have enough of it already. You will write me the blog till the 1 p.m. end of discussion.”

“Nah, i won’t”

Read more

1 Comment · Posted in Blog, Technology