Solved

Listing EJBs on a server

Posted on 2004-09-16
8
165 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
  • 3
  • 3
8 Comments
 

Author Comment

by:elrichal
Comment Utility
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
Comment Utility
0
 

Author Comment

by:elrichal
Comment Utility
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 11

Expert Comment

by:cjjclifford
Comment Utility
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
Comment Utility
Well, apparently my comment was helpful
0
 

Author Comment

by:elrichal
Comment Utility
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
Comment Utility
Thanks for accepting, elrichal.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now