SNMP4j vs JMX? what to choose for myapplication - java

Regarding applications administration, I think SNMP4j and JMX are the most used standards. Looking to the documentation of each one, I got confused and not able to choose one or the other. So, I decided to get post and get some feedback from people who already have experience with the topic.
What I want to do is to consult and change the configuration of some elements and also get some statistics.. I would consider the efficiency, easiness of use and availability of documentation..
Thanks for your help

You can go for JMX. As the documentation for JMX is good enough to create a JMX interface for you application but on the other side SNMP4J is lagging with respect to the documentation. If you have any doubt please let me know.
Regards,
Raghav

Related

Documentation about JMX and WebSphere

At first i know it exist one official documantion about WebSphere APi:
http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/index.jsp?topic=%2Fcom.ibm.websphere.javadoc.doc%2Fweb%2Fapidocs%2Fcom%2Fibm%2Fwebsphere%2Fmanagement%2FAdminClient.html
But that isnt a good one. It explains very few things and does help me just a little.
Iam searching for a good book or good paper wich explain all function, packeg, classes in a good way.
Can anybody help me?
Greetings
On Infocentre (the link you provided), the APIs are usually provided in the References subsection, for each product. I don't think you'll find a more complete list than that anywhere else.
If you mean resources on WebSphere Application Server, you can try searching for that on IBM Redbooks, e.g.:
http://www.redbooks.ibm.com/redbooks/pdfs/sg247957.pdf
Devworks also has quite a few papers explaining concepts/providing examples for IBM products.
http://www.ibm.com/developerworks/websphere/library/
Additionally i definition for MBeans in WAS 8.x !
Does anybody know ?
Something like this : http://my.safaribooksonline.com/book/web-development/websphere/0131446045/websphere-version-5-run-time-mbeans/app02lev1sec1
This Page isnt aktual.
I cant find it on the official documentation.
Thanks

LDAP Server Updates and Event Notifications

Is it possible to receive object content change events from an LDAP server? Basically, I'm searching for a solution to integrate light weight directory services with our software via JNDI to setup active directory synchronization. (i.e. I'd like for the consumer application to be notified when a new entry is made or an object state has changed)
Below are a few possibilities I've came up with so far:
Enable auditing policy on directory objects and register a listener to read incoming changes from the change log.
Implement persistent search against the directory.
Mechanism to poll the directory for changes.
Could someone with more intimate knowledge of LDAP care recommending an optimal approach to a novice person like me?
Thanks in advance!
I'm not an ultimate expert on the topic, but I've had very similar requirements in my previous project, and made a thorough research on possible ways to implement synchronization from Active Directory. As far as I know, there is no other solution than the three options you listed above.
I think the third option is the most viable in most of the cases. It's not very difficult to implement the polling logic yourself, but you might be interested in a small java library that already does most of the hard work. It can help you getting started with change tracking in Active Directory very quickly.
Check it out here: https://github.com/zagyi/adsync4j
Disclaimer: I'm the author of the library and would love to get some feedback if you end up making use of it.
Your best bet with Microsoft Active Directory is to implement the DirSync Control.
Not sure of code in JNDI to implement DirSync Control but I know there is an implementation with UNBOUNDID LDAP SDK.
-jim

Jgroup examples

Is there a website which shows any jgroup code examples? The tutorial and manual on jgroups.org is not very good, and several cursory searches via Google, does not come up with much. I'm looking for examples of serializing objects and sending them over the channel to another JVM, etc.
Thanks in advance,
--Justin Richard Bleistein
Have you checked out the new tutorial at http://www.jgroups.org/tutorial-3.x/html/index.html ? It shows how to send (string) messages between cluster nodes.
Just a note .. if you are looking for simple and fast 1:N remoting and serialization give
http://code.google.com/p/fast-cast/ a try. I am actively supporting it in case of problems. It's order of a magnitude faster, especially when it comes to remote calls and serialization.

What is the best Lightweight/high performance embedded web-server for implementing REstful API

What is the best Lightweight/high performance embedded web-server for implementing REstful API. I need to interface it with java code.
can anyone suggest me the best solution for it? as I am newbie in this field
Regards,
I think finding "the best" cotnainer in terms of performance is very hard task and it is based on your particular use case, meaning - how will you use it? Since it's RESTful API, I guess you will be interested in serving large number of clients with some simple services. So if I were you, I would look for server which is stable for huge amount of requests.
Please check out this interesting article to give you more insights on the performance topic.
Personally, I would go with embedded tomcat or jetty.
Perhaps Jetty is what you're looking for, although it would be a good idea to also check others (like Tomcat, for instance) to see which one's the most suitable for your needs.

is anybody have experience of using J/XFS?

i have to use j/XFS implementations with my java application. and i dont have any idea of what j/xfs is? on google also i found only one small 15page document. so can anybody give me some links?
To add a few comments, the idea behind the J/XFS is to make you application independen of specific financial device (printers, check readers etc).
Also check out www.dynasty.es, they have a commercial platform based on J/XFS with huge number of drivers and administrative tools. (I'm not affiliated with them, but they seem to be the only company I know that offer such products).

Categories

Resources