Enterprise JavaBeans and SNMP Java Connector

There is possible to develop a Java Connector that will allow my J2EE application to collaborate ( send , receive) SNMP commands with various network devices ( sensors, Access Points, hardware devices).
The information eventualy will be pushed back to the subscribed users using AJAX technologies.
Mike

Hi,
I do not get your question.....
You want to connect from MI7.1 directly to a BAPI in the Middleware? Well, in 7.0 there was Generic Sync to do that - and I think this should be still there. With Generic sync it was possible to connect to call any BAPI in the middleware directly - if your user had appropiate rights. Check MDK for details.
And if you want to do that in our own app - if this is the intention of your question.... well.... then I would tell you this is under SAP (C), so as you know you could decompile the MI client code, but this is not allowed.
But I guess it was the first thing you are after, so see if that answer helps. But even there you need the running MI middleware - and this thing confused me in your question - are you using MI already or not and what do you want to do?
Regards,
Oliver

Similar Messages

  • What is Enterprise JavaBean and Servlets?

    Hi there..
    I got kind of confused about enterprise JavaBean and Servlets.
    Are there examples for them to help me understand each of them
    Could someone kindly enlighten me. Thank u
    AG

    Keep a bookmark to http://java.sun.com/j2ee/tutorial/1_3-fcs/index.html

  • Single Sign On -- Enterprise portal and BI JAVA

    Hi,
    I need to watch reports BI J2ee from an EP 7.00. I have configured the single sign On but it works just for ABAP BI Stack.
    This is what I have done for SSO JAVA:
    Importing the BI JAVA Certificate to the SAP NetWeaver 2004s Portal (SAP EP 7.0)
           1.      Start the SAP J2EE Engine Administrator with %INSTALLATION_ROOT%admingo.bat.
           2.      Connect to the portal server.
           3.      Choose  are the values of and of certificate SAPLogonTicketKeypair-cert (see above).
    You also have to add these values under evaluate_assertion_ticket:
       13.      Start the SAP J2EE Engine Administrator with %INSTALLATION_ROOT%admingo.
       14.      Connect to the portal server.
       15.      Choose  (for example, CN=J2E)
    Any clue?
    Regards

    Hi Jorge,
    if the UME is used with an ABAP based system as the back-end user storage, do the following:
    Generate and export the Portal Certificate:
    Go to Visual Administrator
    Choose <SID> - Server - Services - Key Storage - from the tree Select the view TicketKeystore under Views
    If the SAPLogonTicketKeypair exist, delete it.
    If the SAPLogonTicketKeypair-cert exist, delete it.
    Generate a portal certificate using the following steps:
    Under Entry choose Create.
    Enter the folowing values in u201CKey and Certificate Generationu201D
    Organization Unit Name (OU) = J2EE
    Common Name (CN) = <SID>
    Entry Name = SAPLogonTicketKeypair
    Store Certificate: X
    Algorithm: DSA
    Click u201CGenerateu201D
    Import the Portal Java Certificate into ABAP
    STRUSTSSO2
    System PSE:
    u201CImport Certificateu201D - Choose your exported .crt file - File format = Binary
    Click u201CAdd to Certificate Listu201D
    Click u201CAdd to ACLu201D - System ID = <SID>, Client = 000
    save it.
    Export PSE ABAP Certificate and import into J2EE Portal:
    STRUST
    Choose PSE, export it and save as <SID>.pse
    sapgenpse export_p12 -p <SID>.pse <SID>.p12
    copy the generated p12 file <SID>.p12 to J2EE Portal
    Go to Visual Administrator
    Choose <SID> - Server - Services - Key Storage - from the tree Select the view TicketKeystore under Views
    export the .p12 ABAP certificate with "Load"
    adjust com.sap.security.core.server.jaas.EvaluateAssertionTicketLoginModule:
    Choose <SID> - Server - Services - Security Provider - from the components tree select evaluate_assertion_ticket
    ensure that trustediss<n>, trusteddn<n>, trustedsys<n> are correct set.
    ume.configuration.active = true.
    restart the ICM in SMICM
    If you also want to use SSL, there are some further steps to be done.
    Regards,
    Gerd

  • Enterprise 8 and Importing Java Beans

    Hi, I have obtained the class files from a book, and I would like to follow the book's examples. However, while I'm using Enterprise 8, I can't find anywhere in which I can import this bean.
    Can someone help me by giving me a step by step instruction? I cannot find such instructions on the help. Thanks.
    Thanks.
    John.

    Is there any difference where the sources are kept? When exporting the project as a WAR file, will all the beans be included anyways?
    Also, by creating a new Project with existing sources, that creates a new project. Unlike in JS Creator, you are allowed to add the beans to the Source Packages node.
    Is it possible to do the same thing within Enterprise?
    Thanks.

  • Compiling Enterprise JavaBeans and Its Interfaces

    I've downloaded j2sdk1.4.1_02 and can't compile any code that imports
    javax.servlet.* and javax.servlet.http.*
    The install ZIP file has a JAVAX directory but no SERVLET or SERVLET.HTTP subdirectory.
    What's the going on? Am I missing some isoteric point? Shouldn't the JAVAX contain SERVLET and SERVLET.HTTP stuff?

    That's just the base SDK. If you want J2EE, you either need to get the J2EE reference implementation or a J2EE-compliant container. Several have been suggested on this forum: Tomcat, JBoss (JETTY or Tomcat), Orion, etc.
    J2EE is not part of the default package.

  • How and where to install MDM Connector and MDM Java API

    Hi all
    I am installing MDM Server 5.5 and refering to Installation gude
    MDM 5.5 SP06 installation guide (Document Version 1.1 – December 10, 2007).  While installing Development and Portal components , We have to install MDM Connector and MDM JAVA API. I want to know whether the file JAVAAPI<version>.sca file is to extracted on MDM Server or SRM Server ( Using SDM). Please let me know
    Thanks in advance.
    Vitthal prabhu

    Hi Vitthal,
                 We have to install MDM Connector and MDM JAVA API.
    All these sca files that u got along with the business content needs to be deployed onto Web Application Server (recommended WAS 7.0 ).
    U can deploy these files with the help of SDM.
    Hope dis solves ur problem.
    Regards Tejas..............

  • Java Connector and RFCs

    Hi Experts,
    i'm currently in a SAP IS-Retail implementation and i need to invoke RFCs (SAP RFCs) in a third-party system.
    If this third-party system is a java based application, may they use the SAP Java Connector to invoke our (SAP) RFCs???
    Thank you very much.
    Kind Regards,
    Paulo

    Hi Paulo,
    For the kind of situtaion you have stated, SAP JCo is the best answer and you can also see the number of recomendations you have got.
    CHECK-LIST for JCo
    First download the JCo connector from OSS which is compatibale to the version you are using.
    then
    1) install Java and configure the class path in Desktop > My computer ( Right-click) > properties > Environment variables > class path
    2) We have also used Tomcat and ant server, so please check them if you need.
    3) 'librfc32.dll' in WinowsNT > System32 > replace.
    4) sapjcorfc.dll and SAP JCO in the java class path, also the documents and other demo's place it in java folder.
    5) Create connections in java with the program given Example1.java and connections are given above.
    6) in SAP, go to RFC connection, in create connection we have to
    name as JCo
    Type as TCP/IP connections
    Description - anything you wish
    Activation type - Registered Sever Program
    Program -JCOSERVER01( as I remember)
    hope its useful.
    cheers
    ajay

  • Sun java Enterprise Studio and ejb diagrams

    Can I use the studio to create ejb diagrams?
    If so, can I use the studio to reverse engineering existing ejbs and create these diagrams?

    Can you clarify what you mean by EJB diagrams. You can create class diagrams that have model elements that represent EJB objects.
    The UML tool has support for design patterns. We have a couple of design pattern catalogs that provide some EJB support. You can even graphically create you own design patterns.
    The UML project will also reverse engineer Enterprise projects and create a UML model. With the UML model you can create UML diagrams.
    Can you give me any information about EJB support that you would like to see in the UML tool?

  • Error while deploying MDM Java Connector for EP

    Hi,
    i am a newbie to MDM.i am trying to develop a portal component with the blog "Using MDM5.5 Java Connector with SAP Enterprise Portal 6.0" as reference.
    i created an MDM system in portal and the connection tests passed.
    But when i deploy the code i get the following exception-
    java.lang.NullPointerException
         at com.sap.mdm.connector.connection.MdmConnectionFactory.getConnectionEx(MdmConnectionFactory.java:170)
         at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:304)
         at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:258)
         at com.sapportals.portal.ivs.cg.ConnectorService.getConnection(ConnectorService.java:478)
         at com.sapportals.portal.ivs.cg.ConnectorService.getConnection(ConnectorService.java:85)
         at com.cts.mdm.MDMtestcomp.doContent(MDMtestcomp.java:36)(this points to the line <b>connection = cgService.getConnection("MDM_SYSTEM_ALIAS", prop);</b>)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    This is my code-
    IConnectorGatewayService cgService = (IConnectorGatewayService)
                   PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
              ConnectionProperties prop =
              new ConnectionProperties(request.getLocale(), request.getUser());
                   IConnection connection = null;
                   connection = cgService.getConnection("MDM_SYSTEM_ALIAS", prop);
         INative nativeInterface = connection.retrieveNative();
                        CatalogData catalog = new CatalogData();
                             catalog = (CatalogData)
                   nativeInterface.getNative(CatalogData.class.getName());
                        ResultSetDefinition rsd = new ResultSetDefinition("Customers");
              rsd.AddField("Name");
              Search search = new Search("Customers");
              A2iResultSet rs = null;
                             rs = catalog.GetResultSet(search,rsd,"Name",true,0);
    response.write(rs.GetFields().toString());
    Have i missed anything?
    Should i deploy any .jar file? (i've already deployed MDM4J.jar) and referenced it in portalapp!
    Thanks in advance
    SwarnaDeepika

    Hello Swarna:
    I believe than rather than deploying the MDM4J.jar, you should deploy this components:
    com.sap.mdm.tech.mdm4j.sda
    com.sap.mdm.tech.connector.sda
    BPMDMTECHN00_0.sca
    BPMDMAPPLI00_0.sca
    Once you deploy those, you should have no problems. Another solution would be to take your MDM4J.jar and wrap it into an SDA, then deploy, but that would be pretty much the same.
    Those components are included on your MDM CD. Please ensure you use the same Version/support package/hotfix all over your landscape.
    I hope that helps
    Alejandro

  • How to install the SAP Java Connector

    Hi,
    I am unsure how to install the SAP Java Connector on Linux (Suse Linux Enterprise 10). The SAP Integration Kit install and admin guide says:
    ===
    u2022 Copy the librfccm library and the libsapjcorfc library to busines
    sobjects_root/enterprise120/PLATFORM_PATH, where busines
    sobjects_root is the full path to your businessobjects directory,
    and PLATFORM_PATH is your platform. For example, PLATFORM_PATH
    is solaris_sparc for an installation on Solaris.
    u2022 Use symbolic links for the location of the librfccm library and the lib
    sapjcorfc library.
    u2022 Add the location of the librfccm library and the libsapjcorfc library
    to the library path.
    ===
    Do I have to do all 3 steps or is the 1st one (copying of files) enough?
    On the other hand, the SAP Java Connector guide says:
    ===
    Then add {sapjco-install-path} to the LD_LIBRARY_PATH environment variable.
    Finally, add {sapjco-install-path}/sapjco.jar to your CLASSPATH environment variable.
    ===
    So, what to do?
    Thanks!

    Thanks for your help. So i copied the 2 files as mentioned in point 1.
    Where do I have to copy the file sapjco.jar to? There is no shared lib folder after installing BO Edge 3.1 on a Linux system.
    I copied the sapjco.jar to /bobje/tomcat/common/lib but still get the message that the Java Connector files are not in the correct directory.
    I already copied the files librfccm.so and libsapjcorfc.so to /bobje/enterprise120/linux_x86 .
    Thanks again!
    Edit: problem solved: Copying the sapjco.so to tomcat/shared/lib is correct, if the directory doesn't exist then just create it (mkdir). The message is just plain information 7 hint.

  • J2EE-EJB-Deploying an Enterprise JavaBean-deployment failure

    I am unable to deploy a simple EJB application . I am using j2skee1.3.1 and J2SDK1.4.0
    The related files and error messages are reproduced.
    The java files and ear files are in d:\myjava\ejb
    class path is .;d:\j2sdkee1.3.1\lib\j2ee.jar;D:\forte_jdk\j2sdk1.4.0\lib;d:\myjava
    j2ee_home= d:\j2sdkee1.3.1
    java_home=D:\forte_jdk\j2sdk1.4.0
    path=%SYSTEMROOT%;%SYSTEMROOT%\command;c:;d:\j2sdkee1.3.1\bin;%SYSTEMROOT%\system32;%SYSTEMROOT%\system32\WBEM;C:\Program Files\Common Files\Adaptec Shared\System;D:\forte_jdk\j2sdk1.4.0\bin;d\j2sdkee1.3.1\javaservlets;d:\MSSQL7\BINN;D:\forte_jdk\j2sdk1.4.0\bdk1_1\beans\beanbox
    Can any one suggest a solution.
    ************calculatorHome**********
    import java.io.Serializable;
    import java.rmi.RemoteException;
    import javax.ejb.CreateException;
    import javax.ejb.EJBHome;
    public interface calculatorHome extends EJBHome
         calculator create() throws RemoteException, CreateException;
    ************calculator***************
    import javax.ejb.EJBObject;
    import java.rmi.RemoteException;
    public interface calculator extends EJBObject
         public double dollorToRs (double dollars) throws RemoteException;
    **********calculatorEJB***********************
    import java.rmi.RemoteException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    public class calculatorEJB implements SessionBean
         public double dollarToRs (double dollars)
              return dollars * 48.15;
         public calculatorEJB() {}
         public void ejbCreate() {}
         public void ejbRemove() {}
         public void ejbActivate() {}
         public void ejbPassivate() {}
         public void setSessionContext (SessionContext sc) {}
    ***********************************descriptor*************
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
    <display-name>newcalculatorjar</display-name>
    <enterprise-beans>
    <session>
    <display-name>calculatorEJB</display-name>
    <ejb-name>calculatorEJB</ejb-name>
    <home>calculatorHome</home>
    <remote>calculator</remote>
    <ejb-class>calculatorEJB</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Bean</transaction-type>
    <security-identity>
    <description></description>
    <use-caller-identity></use-caller-identity>
    </security-identity>
    </session>
    </enterprise-beans>
    </ejb-jar>
    ***************************error message*****
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
    <display-name>newcalculatorjar</display-name>
    <enterprise-beans>
    <session>
    <display-name>calculatorEJB</display-name>
    <ejb-name>calculatorEJB</ejb-name>
    <home>calculatorHome</home>
    <remote>calculator</remote>
    <ejb-class>calculatorEJB</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Bean</transaction-type>
    <security-identity>
    <description></description>
    <use-caller-identity></use-caller-identity>
    </security-identity>
    </session>
    </enterprise-beans>
    </ejb-jar>
    STATIC VERIFICATION RESULTS
         NUMBER OF FAILURES/WARNINGS/ERRORS
         # of Failures : 3
    # of Warnings : 0
         # of Errors : 0
         RESULTS FOR EJB-RELATED TESTS
         FAILED TESTS :
         Test Name : tests.ejb.intf.remoteintf.RemoteInterfaceMatchMethodArgs
         Test Assertion : Remote interface business methods have matching method arguments test
         Test Description : For [ calculatorEJB ]
    For Remote Interface [ calculator ] method [ dollorToRs ]
    Error: No corresponding business method with matching arguments was found for method [ dollorToRs ].
         Test Name : tests.ejb.intf.remoteintf.RemoteInterfaceMatchMethodException
         Test Assertion : Remote interface business methods have matching method exceptions test
         Test Description : For Remote Interface [ calculator ] method [ dollorToRs ]
    Error: No corresponding business method with matching exceptions was found for method [ dollorToRs ].
         Test Name : tests.ejb.intf.remoteintf.RemoteInterfaceMatchMethodReturn
         Test Assertion : Remote interface business methods have matching method return type test
         Test Description : For [ calculatorEJB ]
    For Remote Interface [ calculator ] method [ dollorToRs ]
    Error: No corresponding business method with matching return type was found for method [ dollorToRs ].
    Thanks in advance.
    Nagarajan

    In EJB home you have -
    public double dollorToRs (double dollars) throwsIn EJB you have -
         public double dollarToRs (double dollars)There is a spelling difference in the function name

  • While trying to import an Enterprise Javabean Model "No EJBs available"

    Hi,
    I´ve facing the following problem, it was working but suddenly it stopped.
    I´ve created an EAR project that contains an EJB project, the EJBs are add to the public part, at least all the java classes that I want to access and the ear has another public part that references to the EJB public part, when I try to import it on Web Dynpro trying to create e new Enterprise javabeans it says to me that:No EJBs available, in fact it shows the project that contains the ejb but when i check and go next to list the EJB files in that project it says: No EJBs available.
    Any idea of what is happeening?
    Thanks and regards,
    Eduardo

    Hi
    I think you forget one step : Copy the java bean that access EJBs into this web dynpro dc.
    [Help1|Using EJB in Webdynpro
    Best Regards
    Satish Kumar

  • Enterprise JavaBeans & JavaBeans

    Hi,
    I wanted to build a j2ee based portal. These portal will not be accessed by many clients (<1000). I was told to use JavaBeans and not the Enterprise JavaBeans, as using the EJB will create unnecessary overhead. Is this a wise option? By using JavaBeans instead of EJB will it still be a J2EE application or a simple web based application. Is there an alternate solution to the above mentioned problem.
    Thank u.

    Find the difference between a simple java bean and EJB first, for simple applications you don't need to use EJBs.
    You need to use EJB
    If you need:
    1) scalability in a larger sense,
    2) cluster support from an application server,
    3) more distributable architechture,
    4) modular approach to the solution.
    I don't know the difference between the the J2EE applicaion and simple web based application.

  • JavaBeans and EJB Difference

    Hi Experts:
    Can anyone tell me DIFFERENCE between JAVABEANS and ENTERPRISE JAVABEANS? I am a newbie to JavaBean world. How do we know which one to use when?
    Also, any startup BASIC TUTORIAL Link would be appreciated.
    Thanks!

    A javabean is simply a class that, through established conventions, exposes certain elements as standard properties. See http://developer.java.sun.com/developer/onlineTraining/Beans/beans01/ and http://developer.java.sun.com/developer/onlineTraining/Beans/beans02/ for a tutorial. Javabeans are a common part of most java programming.
    An enterprise java bean (EJB) is a heavyweight, transactional, remotable component running in a managed "container." EJB has little or nothing to do with regular javabeans. Use EJBs to build web applications and web services with steep scalability, failover and transactional requirements. See http://www2.theserverside.com/books/masteringEJB/index.jsp for a lengthy and comprehensive tutorial.

  • What is the diffrence between a javabean and  EJB

    hi!
    what is the diffrence between a javabean and entreprise jvaabeans! i mean which are the uitilization featires of eaxh one !

    i am seeking for a solution for my problem , in fact i ma trying to implement and develop an application with java that allows a certain range of IP adresses to be connected to a database server in order to extract the suitable data from the server .
    let me explain mor ethe suitation , in fact what i am loking for is to use javabeans to grant my application much more consistence and pertinence : si i am asking if it could be possible to use javabeans in my case especially if i am not trying to developp a web application but a cleint /server one allowing some services.
    The application is in fact dealing with a stock exchange market and what i am trying to do is to grant particilar registrated customers to have the informations that they need ( portofolio, currency's status, market indicators, .) also drawing some charts decribing rates, variations, and others specefic financial caracterestics .So , if we consider that this application is not a web application ( no HTTP request and no servers like apache or others ) how it is possible to use javabeans and not EJB to build the application? i mean what could be suitable and preferable to rely on and dvelop to ensure a good java application !!
    if you need more details to help you find the answer for me don't hesitate to answer me back !!
    Someone here gave me that answer
    use RMI to code the services and (Updateable) Value Objects to pass the information between tiers.
    RMI is an all-java distributed component framework (ie. EJB, CORBA, DCE/RPC, DCOM, etc.), that is very suitable for developing non-containerized multi-tier applications. Refer to the RMI trail in the Java Tutorial as a starting point for coding RMI solutions (http://java.sun.com/docs/books/tutorial/index.html). Under this scenario you would code the database access service as an RMI service (server-side). Client/server communication should be facilitated through the use of JavaBeans/classes that wrap the information being passed (customer information, portfolio details, market information, etc.) - these are refered to as 'Updateable Value Objects' (a design pattern). Graphing and charting would be handled in your client from the information received from the (RMI) server. GUI JavaBeans can be used to provide this functionality as well as other client-side services. There are numerous "shrink-wrapped" components for GUIs available on the market just peruse any Java magazine to find them.
    but how comes? how can i do it !! and where can i find more information please about 'Updateable Value Object "
    thanks

Maybe you are looking for