This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes What is Byte code enhancement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "What is Byte code enhancement" Watch "What is Byte code enhancement" New topic

What is Byte code enhancement

MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
I read somewhere on blogs that Hibernate uses bytecode enhancement for its operation. But I didn't find any information that I could digest for what exactly is bytecode enhancement.
Can anyone please tell me what it is?

I am slow but sure
Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3833

It's a technique used by many frameworks/libraries (Hibernate, Spring AOP etc...) to manipulate the .class files at runtime to various needs such as to add some framework specific defaults etc...

[How to ask questions] [Twitter]
krithika vittal

Joined: Jul 14, 2009
Posts: 11
Can you explain more in detail for Byte code enhancement ???

Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3833

I'd suggest you read some articles about the subject to get an idea like this(and other related parts).
GeeCON Prague 2014
subject: What is Byte code enhancement