File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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: 3902

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: 3902

I'd suggest you read some articles about the subject to get an idea like this(and other related parts).
I agree. Here's the link:
subject: What is Byte code enhancement
It's not a secret anymore!