background preloader

Blogs

Facebook Twitter

Adafruit Industries, Unique & fun DIY electronics and kits. S blog. Saturday, 7 June 2014 RFC2616 is Dead Don’t use RFC2616.

s blog

Delete it from your hard drives, bookmarks, and burn (or responsibly recycle) any copies that are printed out. Since 1999, it has served as the definition of HTTP/1.1, the protocol that underpins the Web. It’s 176 pages of everything from the definitions of GET, POST and DELETE to how TCP connections should be managed, and it was put together by the original HTTP Working Group over a few years in the mid-to-late 90’s, when it became apparent that... Sunday, 1 June 2014 Chrome and Stale-While-Revalidate Chrome is looking at adding support for RFC5861’s stale-while-revalidate, which is really cool. Friday, 9 May 2014 If You Can Read This, You're SNIing When TLS was defined, it didn't allow more than one hostname to be available on a single IP address / port pair, leading to "virtual hosting" issues; each Web site (for example) now requires a dedicated IP address.

Monday, 5 May 2014 How Many Package Managers Should I Support? Erman Taşkın « Makaleler, Düşünceler, Fikirler Güncesi. Java Performance blog. Koen Serneels - Technology blog. Bulk fetching with Hibernate. If you need to process large database result sets from Java you can opt for JDBC to give you the low level control required.

Bulk fetching with Hibernate

On the other hand if you are already using an ORM in your application falling back to JDBC might imply some extra pain. You would be losing features such as optimistic locking, caching, automatic fetching when navigating the domain model and so forth. Fortunately most ORMs, like Hibernate, have some options to help you with that. While these techniques are not new, there are a couple of possibilities to choose from.

A simplified example; let's assume we have a table (mapped to class "DemoEntity") with 100.000 records. After a couple of seconds: Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded Clearly this won't cut it. After running this we get: ... Although we are using a scrollable result set, every returned object is an attached object and becomes part of the persistence context (aka session). ... Adam Bien's Weblog. Alexander (@fischbauch), please introduce yourself I'm an enterprise software engineer developing mainly Java applications since I started studying in the early 1990s.

Adam Bien's Weblog

I’ve been using Java SE, Swing, Java EE, Spring, Struts, JBoss Seam and many other frameworks. But most of my current work is done using Java EE 7. Together with client technologies like HTML, CSS and JavaScript I’m able to build robust end-to-end applications. I’ve also done a lot of embedded computing using microcontrollers which today is called the "Internet of Things”.

When it comes to mobile applications I've been developing for iOS. I’m also a co-founder of LambdaLogic that delivers an application and services for event management. What are you building? My company is building and distributing software and services for event management. You are building products with Java EE. Stephen Colebourne's blog. High Scalability - High Scalability.