File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes How to generate Objects on the fly from DB? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Storm Applied this week in the Other Open Source APIs forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

How to generate Objects on the fly from DB?

Kevin Onik
Ranch Hand

Joined: Sep 10, 2003
Posts: 30
I'm working on a J2EE project that needs to authenticate the users with a unique algorithm writen in a .class file.
I want to store this class file ( & maybe others ! )in a DataBase then when I need them, retrive them & make Objects from .class file/files .
I have an idea but not sure... with ClassLoader & feed it with a byteStream
that comes from DB... but I don't know how !!!
can anyone help? please...

"The greatest pleasure in life is doing what people say you cannot do." --Walter Bagehot<p>SCJP 1.4<br />SCWCD 1.3</p>
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62513

Kamyar, please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please continue any discussion here.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: How to generate Objects on the fly from DB?