Concept J2ee

I�m new of J2ee and I�m trying to design/develop a standard 3-tier system. Well I have to choose all the software tools (trying to spend as less as possible), I read a lot of documents about different products, and now I have mess in my mind :-)
Everything seems to be J2ee compatible!! Can someone give me some advice or links to articles? I would like to know the software products used by someone who already implemented a medium system, and the criteria used to choose them. SOmetimes I have the impression that the words like containers, application servers etc. are not clearly used
Thanks Marco

By 3-tier I'm guessing you mean:
Presentation - JSP's Servlets, applets, Java Beans (not EJB!)
Business Logic - Session Beans (EJB), Message Driven Beans (EJB)
Persistence - Entity Beans (EJB)
Now there are two servers / containers / engines you need to be aware of, Servlet Engines and EJB engines. For these I would start by looking at the following:
Tomcat Servlet Engine (from jakarta.apache.org) : Runs Servlets, processes JSPS, manages Java Beans (think data objects).
JBoss EJB Engine (latest version includes Tomcat) : Runs EJBs.
As for tools, well yes there are loads. I use the free JCreator as my editor, Ant (jakarta) as my build tool, JTest is supposed to be good for testing but haven't used it (www.junit.org), Struts is a good Servlet/JSP/JavaBean framework (jakarta), and finally Log4J (jakarta) takes the headache out of system logging.
These are all open source / freeware / shareware products so check out their licences and realise they might not scale or be supported as well as the "for-sale" products.
Good luck
Paul.

Similar Messages

  • Help need for XI 3.0 Certification Exam...

    Hi All,
    I am new this XI 3.0 (Exchange Infrastructure). Before coming to XI I have worked in BC and webMethods integration tools.
    I am planning to take up the XI 3.0 Certification. I looked in sdn.sap forum and every one is telling about the SAP training material has to complete as below 5 material.
    Courses for certification preparation: TBIT40 (XI foundations), TBIT41 (Mapping Concepts), TBIT42 (Adapters Concepts), TBIT43 (Business Process Management Concepts), TBIT44 (Mapping, Adapters and BPM)
    If we can read the TBIT40 and SAP press release book and then I can try to write a exam or have to complete all the five TBIT40, 41, 42, 43, 44 materials.
    Already I have TBIT40 material with me. Please let me know other 41, 42, 43, 44 is required or not for the exam.
    Please guide me how I have to proceed for my certification.
    Thanks in advance for you all help.
    Thanks,
    Jane F.

    refer these links for XI certification
    A Beginners Guide to XI Certification Details
    /people/community.user/blog/2006/11/03/a-beginners-guide-to-xi-certification-details
    https://websmp204.sap-ag.de/~sapidp/011000358700003517532005E
    As you are not able to attend the training, I would suggest you that go thru the syllabus of XI certification and try to build command over topics mentioned in syllabus. For this you can take help from www.help.sap.com/www.sdn.sap.com.
    Below are syllabus for XI certification:
    TBIT40:
    https://websmp109.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT40
    TBIT41:
    https://websmp201.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT41&LANGUAGE=
    TBIT42:
    https://websmp206.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT42&LANGUAGE=
    TBIT43:
    http://www50.sap.com/useducation/curriculum/course.asp?cid=60161651
    TBIT44:
    https://websmp102.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT44
    Do you have Marketplace access? If yes, you can go to the following links:
    https://service.sap.com/%7Esapidp/011000358700005902252004E
    https://service.sap.com/~sapidp/011000358700003595762004E
    If no:
    Important topics are mentioned with +++
    SAP Consultant Certification
    Development Consultant SAP NetWeaver ’04 – Exchange Infrastructure & Integration Technology
    Software components: SAP XI 3.0
    Certification ID (Booking code): C_TBIT44_04
    Certification duration: 3 hours
    Number of certification questions: 80
    Required certificates for participation in this certification test: none
    Courses for certification preparation: TBIT40 (XI foundations), TBIT41 (Mapping Concepts), TBIT42 (Adapters Concepts), TBIT43 (Business Process Management Concepts), TBIT44 (Mapping, Adapters and BPM)
    Please note that you are not allowed to use any reference materials during the certification test (no access to online documentation or to any SAP system).
    The certification test Development Consultant SAP NetWeaver ’04 – Exchange Infrastructure & Integration Technology verifies the knowledge in the area of SAP NetWeaver for the consultant profile Exchange Infrastructure & Integration Technology. This certificate proves that the candidate has a basic understanding within this consultant profile, and can implement this knowledge practically in projects.
    The certification test consists of questions from the areas specified below:
    Topic Areas
    1. Overview
    Positioning
    Architecture overview
    Key functionality
    2. Design and Configuration (++)
    System Landscape Directory
    Integration Repository
    Integration Directory
    Business Process Management
    Adapters
    3. Runtime
    Integration Engine
    Runtime Workbench
    Basic server administration
    Security
    4. Mapping (+++)
    Concepts / Overview
    Test / Debug Environment
    Standard functions
    User-defined Functions
    Message mapping patterns
    Multi-mapping
    ABAP, Java, XSLT mapping overview
    5. Business Process Management (+++)
    Basic concepts
    BP Modeling
    BP Engine
    6. Adapters (+++)
    Overview and basic concepts
    J2EE Adapter framework
    Partner Connectivity Kit basics
    Individual Technical Adapters
    Advanced Concepts
    Amount of questions by topic (as percentage of test):
    + = 1 - 10%
    ++ = 11 - 20%
    +++ = over 20%
    Also go through the following links:
    SAP XI
    /message/908786#908786 [original link is broken]
    /people/sap.user72/blog/2005/12/22/new-to-xi
    All these are information from the forum itself, so like how others were suggesting i think if you go through the forum you might get even more detailed information on the same as you want.
    Check out these threads for more details regarding certification -
    XI Certification objectives
    /thread/25311 [original link is broken]
    term and conditions in XI
    Questions are welcome here!!
    Also mark helpful answers by rewarding points

  • Want to have Training material and question to crack SAP XI certification

    Hi,
    This is hemant.
    I want to do XI certification . Can u plz give me the training material and question to do that.
    My email id is <b>[email protected], [email protected]</b>.

    Hi Hemant,
    Do you have Marketplace access? If yes, you can go to the following links:
    https://service.sap.com/%7Esapidp/011000358700005902252004E
    https://service.sap.com/~sapidp/011000358700003595762004E
    If no:
    Important topics are mentioned with +++
    SAP Consultant Certification
    Development Consultant SAP NetWeaver ’04 – Exchange Infrastructure & Integration Technology
    Software components: SAP XI 3.0
    Certification ID (Booking code): C_TBIT44_04
    Certification duration: 3 hours
    Number of certification questions: 80
    Required certificates for participation in this certification test: none
    Courses for certification preparation: TBIT40 (XI foundations), TBIT41 (Mapping Concepts), TBIT42 (Adapters Concepts), TBIT43 (Business Process Management Concepts), TBIT44 (Mapping, Adapters and BPM)
    Please note that you are not allowed to use any reference materials during the certification test (no access to online documentation or to any SAP system).
    The certification test Development Consultant SAP NetWeaver ’04 – Exchange Infrastructure & Integration Technology verifies the knowledge in the area of SAP NetWeaver for the consultant profile Exchange Infrastructure & Integration Technology. This certificate proves that the candidate has a basic understanding within this consultant profile, and can implement this knowledge practically in projects.
    The certification test consists of questions from the areas specified below:
    Topic Areas
    1. Overview
    Positioning
    Architecture overview
    Key functionality
    2. Design and Configuration (++)
    System Landscape Directory
    Integration Repository
    Integration Directory
    Business Process Management
    Adapters
    3. Runtime
    Integration Engine
    Runtime Workbench
    Basic server administration
    Security
    4. Mapping (+++)
    Concepts / Overview
    Test / Debug Environment
    Standard functions
    User-defined Functions
    Message mapping patterns
    Multi-mapping
    ABAP, Java, XSLT mapping overview
    5. Business Process Management (+++)
    Basic concepts
    BP Modeling
    BP Engine
    6. Adapters (+++)
    Overview and basic concepts
    J2EE Adapter framework
    Partner Connectivity Kit basics
    Individual Technical Adapters
    Advanced Concepts
    Amount of questions by topic (as percentage of test):
    + = 1 - 10%
    ++ = 11 - 20%
    +++ = over 20%
    Also go through the following links:
    SAP XI
    /message/908786#908786 [original link is broken]
    /people/sap.user72/blog/2005/12/22/new-to-xi
    /message/908786#908786 [original link is broken]
    https://websmp202.sap-ag.de/nw04-kt
    /people/sap.user72/blog/2005/12/22/new-to-xi
    Here are a few sample questions:
    Remember there will 80 question in exam that u need to finish in 180 minutes.
    1. Which of the following is not a component of Exchange Infrastructure.
    a. Integration Server
    b. Adapter Engine
    c. Business process management
    d. Master data management
    2. SAP XI is the integration technology and platform for
    a. A2A and B2B Applications
    b. Cross Component Business process management.
    c. SAP and Non-SAP applications
    d. Asynchronous and Synchronous Communication
    e. All the above
    3. Which of the following is not benefit of XI?
    a. Pre delivered Contents
    b. Total cost of ownership
    c. Openness and Interpretability
    d. Cross Component Business process management
    e. Integration of all modules MM,SD,FI,PI etc.
    4. Which of the mapping is not available in XI By default
    a. Message Mapping
    b. ABAP Mapping
    c. Java Mapping
    d. XSLT Mapping
    e. None of the above.
    5. Choose the true about types of mapping XI supports
    a. Structure Mapping
    b. Node mapping
    c. Value Mapping
    d. Functional Mapping
    6. During Mapping the attribute or element is already assigned mapping, but mapping is not complete. What is the color of ICON for the element/attribute?
    a. Red
    b. White
    c. Yellow
    d. Green
    7. Which of the following is not generic function?
    a. concat
    b. CopyValue
    c. DateTrans
    d. ifWithoutElse
    8. Which of the following in not true about user defined Simple functions
    a. process individual input filed values for each function call
    b. Expect string as input parameter
    c. Takes the object of GlobalContainer class
    d. Return a string
    9. Which of the following are required to create a user defined function
    a. Name
    b. Description
    c. Argument Count
    d. Label
    10. Which of the following package are by default imported in user defined functions
    a. java.lang
    b. java.io
    c. java.reflect
    d. All the above
    e. None of the above
    11. Mapping trace does not support following function. Choose one
    a. addWarning
    b. addDebugMessage
    c. addDebugInfo
    d. addInfo
    12. In Mapping Trace addWarning function which of the following is true.
    a. Supports trace level 1,2 and 3 .
    b. Supports trace level 1,2 .
    c. Supports trace level 1 .
    d. Supports trace level 1,2 ,3 and 4 .
    13. Which of the following is not true about multi mapping
    a. Multimapping supports m:n transformation
    b. Use Abstract interfaces
    c. Can be implemented without ccBPM
    d. Development is same as Message mapping
    14. Mapping template can be defined for structure mapping for the following structure. Chose the wrong one.
    a. Data type
    b. Complex types in IDOC and RFC’s
    c. Complex types in external definitions
    d. Message types
    e. Reference types used in multiple templates can be located in any software component.
    Regards,
    Abhy
    Message was edited by: Abhy Thomas

  • Object vs Class base authorization concepts with J2EE/JAAS

    Hello,
    I'm evaluating J2EE and JAAS and I'm wondering how I can implement my business model using these techniques:
    As far as I understand JAAS, it's a class based authorization architecture. What I need is an object based architecture, specially when using CMP entity beans.
    Is it possible to design an object based access control based on JAAS and (perhaps) CMP entity beans?
    More detailed:
    Let's look at a simple (web-) application: A database contains only a table with documents, a document consists of an ID (primary key) and some plain text.
    I've got two EJB, one for editing documents and one for reading documents.
    Now I can easily design my application with J2EE and JAAS:
    An "editor" role with access on the edit bean and a "reader" role with access on the reader bean.
    The document class could be easily implemented as a CMP entity.
    BUT: What happens if I need a restriction on WHAT documents a user/role can edit/read, in other words, if authorization is not controlled by the EJB (code/class based) but by the ID (primary key/object based).
    E.g.
    User1 should have read access on Doc1, but not on Doc2.
    User2 should have read and write access on Doc2, but not on Doc1...
    As far as I understand JAAS, it's not possible to solve this problem using JAAS. If this is right, then I have to implement my own authorization system, JAAS could only be used for authentication. In this case, JAAS is just a tier in the security concept, just like different database users with restricted access to different tables and fields.
    If I'm right, then it's not possible (or possible but it makes no sense) to use CMP entity beans, because I can't use the "automatic" authorization pattern (I have to call my own access control system before invoking the entity bean, and so my clients loose some of their "leightweight").
    Regards,
    Jens

    Hi,
    I have study JAAS with J2EE for the last two months, don't know whether my ideas can help you. I believed JAAS was designed for java programmer who wanted to have security implement in there application but do not want to write the security themself. JAAS provided a robust system so that someone else can come alone to plug in the security module and security would be implemented.
    Base on your problems, I think what you should do is to have what know as a security access level implement in your object. When you uses JAAS to verify username & password, you can get user's access level as well maybe from LDAP server attribute, store in your principal. So whenever you want to check whethere you're a editor or author.
    You have to identify what is business logic and security logic access level is a business logic, therefore you will have to implement in your application tier. There is no perfect solution, but having these module will save you lots of coding and flexibility.
    Cheers,
    ps: Please correct me if my view are wrong.

  • J2EE roles vs Portal roles vs ABAP roles

    (I also posted this on portal implementation, but i hope i receive more reactions here )
    Dear all,
    I have a question about the information on the following link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/4c/6c0f40763f1e07e10000000a1550b0/content.htm
    It says the following:
    "These functions are intended to assign users and their assigned portal roles a corresponding role in the SAP System. This corresponding role (authorization role) contains the authorizations needed to execute certain functions from the portal."
    1. These "...certain functions..." they talk about, can someome give an example of these functions?
    2. Is it possible for example to create a role in the portal that gives a user authorisation for starting transaction SE80 in the backend system? Without making the role in the backend first and uploading it to the portal.
    3. It's also possible to upload ABAP roles to the portal. Is the main reason for this that users can see their SAP menu (or part of it) in the portal? Or does this have other advantages too?
    4. I'm very confused about the relation between J2EE roles, portal roles and ABAP roles. Is it possible to manage the roles for a user in one place, without having to do certain actions in the portal AND the backend system?
    From what I've read on help.sap.com, you always need to do certain actions in both places.
    A possible approach is the following (from what i know): Creation of roles in the R/3 system, without assigning to users. From a webdynpro application, a user can then be created and roles can be assigned: portal roles (via some API) and R/3 roles (via BAPIs).
    I hope someone can give a bit information on this issue. I've done alot of reading on help.sap.com, but it's still an abstract issue for me.
    Kind regards,
    Joren

    Hi Jorem
    Re: point 3. I don't build portal roles through this mechanism as I don't believe in replicating the SAP easy access menu inside the portal. If there are some specific functions (transactions) that I want to run inside the portal, then I might use this mechanism to build the iViews once. I would rather start an iView that runs transaction SMEN and let the user see their regular easy access menu.
    Please note that the speed of executing transactions in the portal isn't a function of the portal, but the fact that you are using ITS, for example, to web enable the transaction...
    Re: point 4. Groups are a UME concept. They have nothign to do with ABAP groups. They can be created directly in UME through user administration functions, or they can be created in the LDAP and then they are visible in the portal. If the UME points to an ABAP system, then the ABAP roles are autoamtcially visible as UME groups. Groups created in the UME need to have the members assigned through user admin functions of the Java engine. Groups stored in LDAP are maintained using LDAP admin tools. There are upload utilities that allow you to maintain LDAP users and groups through text files. Google LDIF for more details.
    Roles on the portal need to be built in the portal contetn directory. As Michael mentioned, this can be automated by the use of the role upload function built into the portal.

  • Call RFC from java (j2ee) /  call to j2ee from R/3

    hello
    i´ve browsed the forum for some time to find how to:
    1.) call ejb from r/3 system via rfc
    2.) call rfc enabled function modules on r/3 from within an j2ee enviroment
    but i didn´t quite get it, because i was a bit confused about all the mentionend techniques
    what i found out about
    1.) use ejb (session bean) and jndi; configure RFC-Engine Service (we use sap webas)
    2.) use jco / jca
        (or all rfc enables rfm´s are available as web service, but didn´t find anything about this)
    so my question:
    are these the preferred techniques to connect j2ee (webAS) <-> r/3; if not are there any others, maybe easier methods?
    and last but not least: are there any good online tutorials for this topic?
    thanks in advance
    franz

    Just as a short partial reply.
    The generic Java --> RFC method is JCO (it will work on older versions as well), you can think of it as a JDBC driver where R/3 is the database, it behaves very similar in many ways.
    EJB development on SAP WAS is really not any different from EJB development on any other J2EE server. The deploy tool is superb. very easy to use and the JNDI registry, etc. are standard stuff...
    ABAP to EJB calls, haven't looked at this in over a year now, but back then we did a Proof Of Concept based on information at http://help.sap.com and it did work indeed. The only thing was back then that you needed to do a few tweaks to get it to work properly.
    As mentioned above, look at the JCO examples and then you can ask more specific questions once you get stuck.
    Good Luck!
    Cheers,
    Kalle

  • Concepts in web dynpro abap

    concepts in web dynpro abap? how different is it from abap

    hi,
    webdynpro is pragramming model for developing ui which are placed in the portal. abap is totally different in this portal does not comes in to picture .
                                       webdynpro is for developing ui elements like buttons. check boxe etc. we ooabap in the webdynpro abap. not the abap concepts. u should have knowledge on oo concepts.
                                            in webdynpro there r again two ways one is webdynpro abap (ooabap) and the other is webdynpro java inthe second way we use java internally.
                            and also there will two engines j2ee and abap engine . one for webdynpro java and the other for web dynpro abap .

  • User mapping certificate in UME (J2EE) with ABAP system as Backend (SNC)

    I hope someone can help me with the user mapping concept (X.509 V3 certificates) for both "worlds" (ABAP and JAVA Stack).
    I know how to install and configure certificate based (X.509) login to SAP ABAP and SAP JAVA (J2EE) Stack (--> enable encryption for communication and Single Sign On).
    Situation:
    We have a ready installed and configured X.509 certificate authentication environment for the ABAP world (between SAP GUI and SAP Server System)
    and the user mapping was configured in the ABAP System (SU01). As the users are using certificates, the passwords are deactivated on the ABAP System.
    Now if you want to integrate a JAVA (J2EE) Sytem and you want to configure the UME to the ABAP System (as Backend), you have an administrative effort problem with the user mapping (X.509) in the UME configuration.
    1.) It is possible to assign manually the user public key to every user --> But to much effort
    2.) As the user does not have a password (deactivated in the ABAP system), the way to combine the automatic mapping with a user login does not work.
    3.) In the distinguished name of the user certificate there is no information about the SAP username itself
        --> you are not able to use any information of the DN to bind a user in the Login Module configuration.
    Now my question:
    Is it possible to use the sncname information from the ABAP System (still configured and available) for the UME configuration?
    As i know, it is possible to write an own Login Module. Does anybody has a customized Login module for this issue?
    At the end the best solution would be to enable the same user mapping mechanism on the JAVA world as on the ABAP world. --> Mapping the Distinguished Name to the SAP User

    We have developed a login module which is working with Kerberos auth, not x.509 auth, but still solves a very similar problem to the problem you are describing. As you know, when SNC is used to logon to ABAP stack, the SNC name of the user is mapped onto a SAP user via entries in the USRACL table. Our mapping login module takes the authenticated user principal name from the shared state and uses this to lookup the entry in USRACL table on ABAP stack, and from this it will know which SAP user  to use, and can update shared state with this info so that CreateTicketLoginModule will created an SSO2 ticekt for the mapped SAP user id.
    This means that mapping of users externally authetnicated identity onto SAP user/client can be managed in one place, e.g in ABAP stack using USRACL table entires and su01 t-code etc.
    I know it is not exactly what you wanted, since you are looking to use x.509 certifiates instead of Kerberos authentication, but I thought it was worth sharing so that you know the concept has already been implemeneted many times. Many of our customers use this login module when they have our product, for the same reasons that you have stated.
    Thanks,
    Tim

  • Web Module created form NWDI does not appear in J2EE-Explorer View

    Hi,
    I have created a DC of Type Web Module. I had it checked in and activated it.
    Afterwards I went to "Inactive DCs" view and created a local project out of the DC.
    When I look at "J2EE Explorer" view, I do not see my newly created object. However it is visible in "J2EE DC Explorer" view. When I edit the .project file and remove the line
    <nature>com.sap.ide.eclipse.component.provider.dcnature</nature>
    I can edit the project in "J2EE Explorer" but not in "J2EE DC Explorer".
    When I am finished with my local work on component I have to copy the line
    <nature>com.sap.ide.eclipse.component.provider.dcnature</nature>
    back into .project-file. Is there a more elegant solution for editing web modules created from DCs?
    Thanks for your help,
    Andreas

    Hello Sidharth,
    By the term "extend", I meant, that
    - eg another developer created the dc,
    - I want to add further functionality to the dc (by "extend" I DID NOT THINK OF CREATING A CHILD COMPONENT).
    Maybe I understood the dc-concept wrong:
    I wanted to reference the JCO-library in my dc and I am missing the entry "Add/Remove Additional Libraries" in the context menu in "J2EE DC Explorer" perspective:
    Is that by design?;
    Do I have to
    - add references to external libraries (like JCO) in local, non-dc J2EE-projects by "Add/Remove Additional Libraries" and in
    - dc projects I have to reference external libraries by "Add Used DC" within the "DC Metadata"?
    Thanks for your help,
    Andreas

  • Need sample application in dotnet to understand the concept of dataMining

    Hi,
    I am new to data mining and I know the genralize concept of Data Mining. I want to implement the application with Data Mining using c#.net or vb.net but don't know how to start. So any body know any sample application for data mining using c#.net or VB.net
    please share the link or source code. Which will real help me and will be food for my thought process for data mining.
    Thanks in advance.
    Pramod

    if multiple users are
    accessing the same data base row, there will be
    different primary key for each and every client.This is incorrect: the PrimaryKey is the unique identifier for each database row. It has nothing to do with users. In order for CMP to work, the container must be able to operate with a single row in the database and be able to distinquish between them.
    If your CMP->database table already has one column that's unique, then you declare that CMP field to be <primary-key-field>. If you have more than one column that makes a row unique, you must make your own primary key object. The way the container can tell the difference between these primary key objects is to compare them, therefore the hashCode and equals methods.
    Provide me the links where i can find the
    answers.This is all discusssed in the J2EE Tutorial.

  • Unable to understand the concept of Primary Key in EJB

    hi,
    please help me in understanding the concept of Primary Key.
    For each and every entity bean represents a data base row. i think it is correct. if multiple users are accessing the same data base row, there will be different primary key for each and every client. is it correct or not. can we say this as "concurrency"?. if all the clients are manipulating the bean, who manages it either application server or data base server?. why does we must implement both hashCode() and equals() methods?. Provide me the links where i can find the answers.

    if multiple users are
    accessing the same data base row, there will be
    different primary key for each and every client.This is incorrect: the PrimaryKey is the unique identifier for each database row. It has nothing to do with users. In order for CMP to work, the container must be able to operate with a single row in the database and be able to distinquish between them.
    If your CMP->database table already has one column that's unique, then you declare that CMP field to be <primary-key-field>. If you have more than one column that makes a row unique, you must make your own primary key object. The way the container can tell the difference between these primary key objects is to compare them, therefore the hashCode and equals methods.
    Provide me the links where i can find the
    answers.This is all discusssed in the J2EE Tutorial.

  • Bowstreet - Dynamic Runtime Assembly on J2EE?

    Has anyone heard of this company called Bowstreet? They claim to be a "mass customizing run-time dynamic assembly engine for services such as web services, EJBs, etc." that runs within a J2EE Container. I have read in a couple of books that due to the inefficiencies of JSP (maintenance cost, non-loosely coupled services) that dynamically assembled applications will be the way to go. Especially when web services are commonplace. Any input would be helpful.
    Thanks,
    Rob

    yep, i have worked with it... what it does is to break down a webpage into components which can be shared by other pages, local pages or even remote pages on other servers.... the one I worked with was the pretty buggy. Bowsteet also uses lots of XML, epecially in passing and containing data. The coolest about Bowstreet is the remote component, which lets say you wanna a stock quote component, instead of writing and licensing one yourself, you can have the Bowstreet Application Components service to remotely give you the component... all you gotta do is put the remote service URL and some other security parameters. Yeah, it is an easy concept, but it works quite well, bascially the local server doesn't need to have the actualy component.
    bottom line is the Bowstreet had the most original ideas, their implementaion is good as well, however, due to the nature, or better said the immaturirty of XML and Web, the Bowstreet application was very buggy and confusing. I think the version we did was 3.

  • Communication issue btw applications on SAP J2EE Engine6.20 & Websphere 6.0

    We have a customized SAP IPC application running on SAP J2EE Engine 6.20 and it is communicating with another application called Common Configurator or C2 running on WebSphere 4.0.5.
    Communication between customized SAP IPC application and C2 application is over RMI IIOP. SAP IPC application calls methods on stateless session beans in C2 application.
    Going forward, we want to connect to C2 running on Websphere 6.0 from this customized SAP IPC.
    When I am trying to connect to C2 on Websphere 6.0 I am getting the following
    exception :
    org.omg.CORBA.BAD_PARAM:   minor code: 0  completed: No
         at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:48)
         at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:278)
         at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:251)
         at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:188)
         at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:68)
         at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:30)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:660)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241)
         at javax.naming.InitialContext.init(InitialContext.java:217)
         at javax.naming.InitialContext.<init>(InitialContext.java:193)
    But the same setup is working fine for SAP J2EE Engine 6.20 and Websphere 4.0.5.
    Has anybody faced similar issue before ?
    Could anyone tell me what could be the possible reasons and how can I preceed on this.
    Additionally,
    SAP J2EE Engine 6.20 uses ORB implementation of the Sun JDK (1.3). And Websphere 6.0 is based on JDK 1.4 version.
    Thanks in advance.
    Harman

    This is what class org.omg.CORBA.BAD_PARAM all about :
    <i>Exception thrown when a parameter passed to a call is out of range or otherwise considered illegal. An ORB may raise this exception if null values or null pointers are passed to an operation (for language mappings where the concept of a null pointers or null values applies). BAD_PARAM can also be raised as a result of a client generating requests with incorrect parameters using the DII.
    It contains a minor code, which gives more detailed information about what caused the exception, and a completion status. It may also contain a string describing the exception.</i>
    <b>And Websphere 6.0 is based on JDK 1.4 version.</b> The JDK of websphere is an IBM implementation and differs a lot from the sun implementation. As well, WAS6.0 supports J2EE 1.4 also...may be you should check the release notes / documentation of WAS for compatibility issues if any.
    Regards,
    Amol

  • My First J2EE Project (tm) -- requesting advice!

    My client is deeply invested in FileMaker for their Mac-based prepress division, and now they want what will eventually be a very sophisticated application to automate the production of customized paper products. I looked at all the options, and it seemed like my choices were Lasso (FileMaker's own server-side scripting language, sort of a poor man's ColdFusion) and Java. I decided that if I was going to go the JSP route, why not go all the way and do J2EE? Nobody in management knows, just yet, exactly how big this project will become; J2EE seems to offer the greatest potential for absolute scalability and flexibility.
    I'd greatly appreciate if someone would take a glance at these requirements and give me any pointers or warnings that come to mind.
    The servers will all run on Mac OS X. I'm locked into FileMaker as the database, and WebStar 4D as the server -- those are completely non-negotiable. I plan to use WebStar's Tomcat extensions and just store all the project web documents on the Tomcat server; and I plan to use JBoss as the application server, unless someone convinces me I should buy something more commercial. (Neither our budget nor our predicted project requirements put us anywhere near the Websphere/Dynamo level, but I could probably talk them into a few thousand.)
    The eventual workflow will be like this:
    1. Client logs onto website, customizes his product by selecting text attributes, typing in text, choosing images from a library, and so forth. Eventually, we might be using a full-scale interactive design applet. Most importantly, he chooses from a few possible document sizes and ink colors.
    2. The application generates a low-resolution, watermarked PDF from the client's input, and displays it to him for his approval. If he approves the PDF, a high-resolution, print-ready one is sent to press. Here's the vital part: the PDF must contain proper specification of spot and process colors! If this is lacking, the whole thing goes down the crapper.
    3. Somewhere along the line, the client pays for the product via credit card. I assume the best way of dealing with this is to contact a bank that offers online merchant accounts and ask them how to integrate their software into my application.
    That's it, for now. Any advice I get will be very greatly appreciated. The PDF question is very important; I'd like to open a separate topic for it, on a more appropriate forum, but I'm not sure which of the forums here is best for that. Any suggestions?
    And yes, I'm new to J2EE, coming from a PHP background -- but I've done some studying and built a sample GUI application in Java, so I feel I have a decent grasp on the language itself, and I'm rapidly absorbing J2EE concepts as I go through docs and tutorials. That's not to say I won't hang on your every word if you have some pearls of wisdom.
    Please help me out here -- our alternative is to use Lasso. :)

    Hi Ceties,
    it's difficult to answer general questions about architecture because every person can do it differently, and still all of those ways can be right.
    Your device class hierarchy seems well designed and I wouldn't change anything there.
    The most comfortable way for me to organize my project is to use auto-populating folders. 
    I also wouldn't use nested file organization, rather separate folder for every class. This way you don't need to remember the inheritance pattern while going through the files outside of the project.
    For more information please visit:
    http://zone.ni.com/devzone/cda/tut/p/id/3573#toc4
    especially the last paragraph "Additional Resources"
    I hope that helps, TRSns
    Best regards, Piotr
    Certified TestStand Architect
    Certified LabVIEW Architect

  • Concept of an Application

    I am trying to understand the concept of the Application. Assume I deployed a web application MyAppTest (http://www.myapptest.com) to the Application Server.
    1)When the first user launches the http://www.myapptest.com from a Browser, to access the Application Server, will that starts the loading of the web.xml, struts-config, and many other files? OR those files have already been loaded long before the user's accessing?
    2)When the second user from a different computer, do the same (launch http://www.myapptest.com), will it, too, starts the loading of the web.xml, struts-config, and many other files? OR just a session is created?
    Thanks.
    Eugene

    Eugene, it is clear that you are referring to a J2EE application or a J2EE web application, where the later is often packaged inside the former. (So this question is better posed at oc4j forum.)
    Instead of your assumption "I deployed a web application MyAppTest (http://www.myapptest.com)", I would assume that "I deployed a web application MyAppTest at (http://&lt;myHostName&gt;:&lt;myPort&gt;/&lt;myRootContext&gt;)". Deploying an application would never change your host name. Do not mention that you are using url redirect or rewrite.
    &gt; 1) When the first user launches the http://www.myapptest.com from a Browser, to access the Application Server, will that starts the loading of the web.xml, struts-config, and many other files? OR those files have already been loaded long before the user's accessing?
    The pre-loading of web.xml is determined by the "load-on-startup" of your web application in *-web-site.xml. Whether struts-config will be loaded at the time your web application is loaded is determined by the existence of the element &lt;load-on-startup/&gt; of servlet "org.apache.struts.action.ActionServlet" in the web.xml, which usually does exist.
    Anyway, if they are not loaded yet, a request will certainly start loading them.
    &gt; 2) When the second user from a different computer, do the same (launch http://www.myapptest.com), will it, too, starts the loading of the web.xml, struts-config, and many other files? OR just a session is created?
    Of course no reloading of the web.xml, structs-config if they are loaded. Whether a session will be created is determined by your code.
    I would not speculate about "many other files"; you have to be specific.

Maybe you are looking for

  • How do you rename multiple files at the same time

    how do you rename multiple photo files with a name at the same time?

  • How can I bind a component to ADF?

    Hi all! I'm really new to OOP, Java, and JDeveloper. I managed to create a small ADF Swing application successfully through the wizards, help files, and examples. I want to incorporate the components of SwingX into it, specifically having auto-comple

  • My iphone 5 no longer rotates the view from horizontal to vertical

    Why not?

  • Storage Location Authorization Object

    Dear all, I am trying to restrict a user on some particular Storage Locations , but when we apply the restriction , the user can still access all other St Loc.. Could u pls help.. Wants to do the same for Movement Type as well.. Thanks in advance..

  • Validation for KP06

    Hi all! I need to make a validation for transaction KP06 (Change cost element input planning), so that given a version number (VERSN) and a cost element (KSTAR), the system will check in a Z table if the change is allowed or not. I have tried the fol