Edward Chou's Blog (周甘泉 的 博客)
小熊
Archives
« August 2007 »
SunMonTueWedThuFriSat
   
1
2
3
4
5
6
7
9
10
11
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
       
Today
Click me to subscribe
Search

Links
 
Locations of visitors to this page detail...

Today's Page Hits: 7

« Previous month (Jul 2007) | Main | Next month (Sep 2007) »
Sunday Aug 12, 2007
SNMP BC Part 2

In this demo, we will show how to implement the processing logic for the incoming SNMP trap, and we would refer to this processing logic as "Adaptation".  Normally, we would want to feed these incoming SNMP traps to an event-processing engine, since usually it is the occurrences of events that are most interesting.  However, for simplicity sake, in the demo we are feeding the SNMP traps to an EJB exposed as a webservice operation, and we simply print out the values for each trap in the EJB method.

Here are the main steps to create this project:

  1. Create a new Composite Application Project.
  2. Create a new WSDL document, import a pre-defined XSD file, define a one-way operation.
  3. Generate a new EJB exposed as Webservice from the created WSDL file.
  4. Writing processing logic in the EJB method.
  5. Add EJB as a component of the Composite Application Project.

Pretty simple right?

Click to see the Demo Part 2.

Posted at 04:07PM Aug 12, 2007 by Edward Chou in Java  |  Comments[0]

Wednesday Aug 08, 2007
SNMP Binding Component Demo Part 1

SNMP Binding Component (SNMP BC) is developed  as part of open-jbi-components project.  It allows network devices based on SNMP protocol to be accessed from an ESB system.

Below is Part 1 of a series of demos on how to create a SNMP based project from within NetBeans IDE.  First step in an end-to-end scenario is to create a metadata implementation for the SNMP BC, SNMP BC will use this metadata implementation to resolve information regarding network devices and how to process incoming traps from these network devices.  See design doc for details.

Click to see the Demo.





 

Posted at 04:43PM Aug 08, 2007 by Edward Chou in Java  |  Comments[0]