Dan Fow

Greenhorn
+ Follow
since Apr 06, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dan Fow

Also, could you point me to a tutorial or just tell me the trick to making a bean without an interface? Everytime I've tried the server throws a bunch of exceptions.
Using JBoss AS6, but trying to stay as container-agnostic as possible, might as well ask if that is possible though?

I'm using the JBoss default EJB version so I think that is an alpha of EJB 3.1.1 (could be wrong though).

As far as extending Properties goes, my main concern is being able to extend any class, seems kind of odd if using ejb's prevents you from using inheritance, could just be me not understanding something though?
I'm a newbie to JEE and EJB's so forgive me if this is a stupid question.

I want to have an EJB that extends the java.util.Properties class however, it is my understanding that I need to have an interface for the Bean that I inject. Properties does not have an interface so I don't know how to expose the Properties methods in my beans interface.

How can I create a Bean that extends Properties and has an interface that also exposes the Properties methods (without having to rewrite all of them myself)?

is there a way to create a bean without an interface?
I'm a newbie to JEE and I'm using an EJB to start a bean that calls a URL, I need some way of configuring that url at runtime.

If I was using spring I would just make the URL a constructor argument and initialize the bean in xml. However, I am using JEE.

Can someone tell me the proper way to make a bean have a configurable value in JEE 6?