Solved

Listing EJBs on a server

Posted on 2004-09-16
8
172 Views
Last Modified: 2013-11-24
Hi experts,

I wonder if it is possible to write a java aplication that list all the available EJB (an their public methods) in a given server. I mean, to have a complete list getting from the user as less parameters as possible (URL, user, passwd, or maybe more security parameters if you need JAAS) and without having the name of the beans and their methods.

Is there any piece of code that shows it?

Thanks in advance.
0
Comment
Question by:elrichal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
8 Comments
 

Author Comment

by:elrichal
ID: 12072736
Just a comment, I'm a beginner in EJBs world and I use Eclipse+JBoss+Lomboz.
0
 
LVL 37

Accepted Solution

by:
zzynx earned 125 total points
ID: 12072781
0
 

Author Comment

by:elrichal
ID: 12072921
Yes it is! But I don't have WebLogic, so I don't have the examples. Do you have this piece or a URL to get it? (I can't find it!)

I will prefer a more generic solution (I use JBoss), as soon as I get the code I will try here on JBoss and I will tell you if you got the points.

Thanks zzynx.

0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 11

Expert Comment

by:cjjclifford
ID: 12073008
for JBoss you could always use the JMX interface (http://localhost:8080/jmx-console). there are also several JMX GUI tools that interface well with JBoss (depending on the version of JBoss - the more recent the better, we use 3.0.x stream, and JMX works somewhat, its changed for 3.2.x stream, for the better apparently, I've not looked into this!)
0
 
LVL 37

Expert Comment

by:zzynx
ID: 12284380
Well, apparently my comment was helpful
0
 

Author Comment

by:elrichal
ID: 12345807
Yes, I wil accept it zzynx. It is weblogic oriented but was a good clue to me to find a platform idependent solution.

So I will accept it.

Thanks.
0
 
LVL 37

Expert Comment

by:zzynx
ID: 12345826
Thanks for accepting, elrichal.
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question