Is Moving All Jars To a Shared lib Folder Beneficial?
We will be running more than one web application on the same tomcat (7.0.22), so we wondered whether there will be a benefit in moving all jars to tomcat/lib insteadContinue reading
We will be running more than one web application on the same tomcat (7.0.22), so we wondered whether there will be a benefit in moving all jars to tomcat/lib insteadContinue reading
Looking at my blog analytics yesterday, I got half of my reddit views from reddit.com/r/programming, and the other half – from reddit.com/r/programming/ – only one trailing slash difference. The generalContinue reading
What is “state” in your web application? It’s the data that gets stored (regardless of the destination – memory, database, file-system). The application itself must not store any state inContinue reading
Here are the slides for my presentation during the first DZone VIP meetup in Bulgaria. The presentation is short, and the slides can definitely be better, but I’m sharing itContinue reading
In spring MVC you can have But that means “jobType” and “location” are the http parameter names, and there is no way to customize that. Which is odd, since thisContinue reading
Today I noticed this Hibernate stactrace: This means that when calling Query#list() (same goes for the JPA variant, which simply invokes the hinbernate class), the session might be flushed. ThatContinue reading
Recently I noticed that posts to facebook that I make through my tool (welshare) appear collapsed, with a weirdly big logo, as if it was posted to the app page,Continue reading
You are working on that fresh project and you see a bad piece of code somewhere. The wrong way to approach it is “nah, that’s someone else’s code, I’m notContinue reading
They say developing Java is slow because of the bloated application servers – you have to redeploy the application to see your changes. While PHP, Python, etc. scripting languages, allowContinue reading
Hibernate (and actually JPA) has collection mappings: @OneToMany, @ManyToMany, @ElementCollection. All of these are by default lazy. This means the collections are specific implementations of the List or Set interfaceContinue reading