Listing EJBs on a server

Posted on 2004-09-16
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.
Question by:elrichal
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

Author Comment

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

Accepted Solution

zzynx earned 125 total points
ID: 12072781

Author Comment

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.

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 11

Expert Comment

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!)
LVL 37

Expert Comment

ID: 12284380
Well, apparently my comment was helpful

Author Comment

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.

LVL 37

Expert Comment

ID: 12345826
Thanks for accepting, elrichal.

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
login jsp example 24 102
Unhandled exception type Exception 18 63
maven disable workspace resolution 1 72
Drop down list show all elements but disabled for selection 6 60
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Suggested Courses

737 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