General question: Connect to EJB

Hi,
At the moment I am working on the architectural design of a new application written by J2EE technology.
To study the subject I read many books and tried a large number of HelloWorld applications with EJB.
As I understand it, the EJB works like this:
Client ==> [RMI] ==> EJB ==> [JCA] ==> Node X
or
Client ==> [RMI] ==> EJB ==> [JDBC] ==> RDBMS
My picture from EJB down to JCA or JDBC is quite clear although the construction of a JCA was quite troublesome. My picture from the Client to the EJB is not so clear.
Until now I succeeded to connect to a EJB by using JMS, RMI and Webservice (SOAP).
Web Services is great since my application must support this so it looks a good idea to connect this with a stateless session bean.......
However I also need to support some kind of simplified LDAP and perhaps another legacy protocol. So I think I actually need to add a listening socket to the EJB. Of course this cannot be done by default, since a EJB is not allowed to act as server. But how can we achieve this anyway and work "by the book"? I would like to use stateless session beans to use the Application Servers infrastructure like robust thread handling, clustering and hot deployment possibilities.
Downstream we use JCA/JDBC but how to we listen to upstream commands? Is there only SOAP, RMI and JMS? Should I develop another JCA and connect this to a EJB in some way?
Sorry for all my questions, but in all Hello Pet Store World examples I have seen so far a web tier exists. All operations are initiated by the web browser. In my case there is not such a thing like a web browser or web tier.
Thanks for your support, it would be great if I just knew where to continue reading!
Joop

Hi Dmitry, I too had a few problems with the Sun App server. I was trying to call add a message to a JMS Message queue (of a Message-Driven bean) from a standalone Java application running on a second node. After researching the problem for some time, we still have not found a solution for this bug. We are getting a GIOP Magic error.
You should not have problems deploying an EAR. This is working. You might need to investigate these problems, i.e. deployment process, configuration, etc.
How should I make lookups if I deploy "Enterprise Applications" with EJB inside it. Your lookups should use the InitialContext and the JNDI tree of the application server. Again, you need to make sure that your deployment is correctly building the JNDI tree.
How are you deploying the application modules?
/>

Similar Messages

  • Asking general questions about 'computing' matters.

    Hello
    I'm new to the Mac world - I posted my first question on the forums today!
    I have reviewed the discussions site - everything seems very specific to apple products. Where, if anywhere, could I post a general question - like this one:-
    I have a notion that when one connects to a server directly (Usenet newsgroups for example) one makes a deliberate 'hole' in one's firewall, be it software or simply because one is using a NAT router. Sending messages to and receiving posts from Usenet is far quicker than using email, so I'm fairly confident that this is so.
    I am well aware that any URL one visits can instantly determine much information about the connecting machine. (see http://www.browserreport.com/ as an example).
    Anti-malware programs can only detect known viruses and spyware - I see no reason at all why, once one has granted a direct connection facility, between a group on a private server to
    one's own machine, malware could not relatively simply be injected onto one's computer.
    If the malware was currently unknown, how would one ever know?
    Thanks in anticipation of a helpful response
    David B

    HunterBD wrote:
    I'm new to the Mac world - I posted my first question on the forums today!
    Excellent!
    I have reviewed the discussions site - everything seems very specific to apple products. Where, if anywhere, could I post a general question - like this one:-
    Unfortunately, not in this forum. This forum is specifically about the discussion forum itself. It is kind of like a meta-forum. Hopefully, the moderators will just move your post somewhere more appropriate. (As indeed they just did!)
    I have a notion that when one connects to a server directly (Usenet newsgroups for example) one makes a deliberate 'hole' in one's firewall, be it software or simply because one is using a NAT router.
    Kind of and kind of not. Firewalls are greatly misunderstood. But essentially, yes, any internet connection you establish has some risk involved. However, the risk of making an outgoing connection is infinitesimally smaller than setting up a server to let hackers bang on 24x7.
    Sending messages to and receiving posts from Usenet is far quicker than using email, so I'm fairly confident that this is so.
    Really? I don't think so.
    I am well aware that any URL one visits can instantly determine much information about the connecting machine. (see http://www.browserreport.com/ as an example).
    Not really. It depends on what you are doing. You always give away your IP address, unless you are behind a proxy. In that case, you give away the proxy's IP address. But the proxy still knows who you really are.
    If the protocol in question supports such information, then it can be determined. A web browser does send some information about you, but you can easily change it and masquerade as some other browser. With other protocols, it isn't so easy to tell what kind of OS or software is being used.
    Anti-malware programs can only detect known viruses and spyware - I see no reason at all why, once one has granted a direct connection facility, between a group on a private server to
    one's own machine, malware could not relatively simply be injected onto one's computer.
    If the malware was currently unknown, how would one ever know?
    You wouldn't
    Don't grant anyone direct connection to your machine.

  • General questions about using webservices and xml as opposed to an oracle driver

    Dear Experts; I have a general question which I have yet to test. Is it faster to use an ODBC driver to connect and retrieve data from an Oracle database than creating a .net webservices and using an XML to get the data for your web application. THank you

    At some point in the architecture stack some component will need to access the database in order to get the information from the database. That component will need to use an Oracle client driver.

  • General question on SQL Server 2000 to Oracle 10g

    Hello all,
    I just have a general question on migration from SQL Server 2000 to Oracle 10g using SQL Developer.
    How does it migrate Users with proper privileges from SQL Server to Oracle? Follow the interface steps? Or should the users be created on destination Oracle side?
    Thank you.

    Hi,
    It depends which type of migration you are making.
    For a 'Standard' migration when you migrate data a 'create user' statement is created as part of the migration and you will see this in the generated code.
    If you are using the 'Quick' migration option then you need to create the Oracle user or use an existing user to receive the data.
    Your best option is to review the documentation available from -
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    or directly from -
    http://download.oracle.com/docs/cd/E12151_01/index.htm
    and then get back with specific questions if this does not give you the information you need.
    Review the chapter -
    2. Migrating Third-Party Databases
    in -
    Oracle® Database SQL Developer User’s Guide Release 1.5
    Regards,
    Mike

  • Report Builder Question - OA AR Aging - and a general question

    I'm sure this is the wrong forum for this question, but I thought there might be someone here who might be using Oracle Applications and Report Builder who'd be kind enough to help me out.
    We've recently implemented Oracle Applications 11.5.10 and I have to use report builder to change the Accounts Receiveable Aging (7 bucket) to a 5 bucket report. I've already made some changes to the seeded "ARXAGMW.rdf" report, but I'm not a big Oracle Reports guy. I've stumbled through making some changes in various other reports. But this one is just plain nasty! :)
    I was thinking that I could simply add buckets 6 & 7 to bucket 5, then just hide or delete the 6 & 7 buckets. But I'm not sure where to even start. Any help with this would GUARANTEE a Christmas or other holiday card this year! :)
    I really want to keep this simple as possible, so any help would be very....helpful. :)
    Oh, my general question is: Are there any resouces/books for Oracle Reports (Report Builder)? I feel so lost trying to modify existing reports, let alone creating new ones.
    Thanks again!
    Steve

    Hi Steve,
    I am working on the 7-bucket aging report and i want to add a new field in data model.
    As the query is build dynamically, i have modified the function BUILD_CUSTOMER_SELECT to meet my requirements.
    But the problem is that in the data model, the field is not present in my Grouping. and if I try to add the field in the Data Model query (Q_ Customer) section,
    i get the following error: ORA-01789: query block has incorrect number of result columns.
    The query is as shown below:
    select rpad('a',50,'-') short_cust_name,
    0 cust_id,
    rpad('a',30,'-') cust_no,
    rpad('a',500,'-') sort_field1,
    rpad('a',40,'-') sort_field2,
    0 payment_sched_id,
    rpad('a',32,'-') class,
    sysdate due_date,
    0 amt_due_remaining,
    0 days_past_due ,
    0 amount_adjusted,
    0 amount_applied,
    0 amount_credited,
    sysdate gl_date,
    'x' data_converted,
    0 ps_exchange_rate,
    0 b0,
    0 b1,
    0 b2,
    0 b3,
    0 b4,
    0 b5,
    0 b6,
    rpad('a',25,'-') bal_segment_value,
    rpad('a',500,'-') inv_tid,
    rpad('a',32,'-') invoice_type
    , 'y' parent_cust --I WANT A NEW FIELD HERE TO BE VIEWED ON THE REPORT LAYOUT LATER
    from dual
    where 1=2
    UNION ALL
    &common_query_cus
    Did i missed somthing 4 me to be able to add the field here?

  • General question about iTunes Match and multiple libraries

    Hello to everyone,
    I have a general question about the iTunes Match service, which is available since yesterday in my country (Italy). Currently my library situation is the following:
    Computer A (desktop, Windows 7): "big" iTunes library (about 20 GB), at the moment not associated with my Apple ID
    Computer B (MacBook Air 2011): "small" iTunes library (about 5 GB), associated with my Apple ID
    At the moment, both my iOS devices (iPhone 4 and iPad 2) are synchronized with the smaller library on the MacBook Air.
    Question is as follows: should I subscribe to iTunes Match, would it be possible to upload the "big" library (provided I associate it with my Apple ID) to iCloud while keeping my devices synchronized with the "small" one?
    Ideally, at the end of the day, the situation should be the following: both iOS devices with music from the small library + possibility of downloading songs from iCloud (coming from the big one). Is this possible?
    Maybe the question sounds stupid, but I want to be sure about this before paying for the service.
    Thanks a lot.

    Yes, you could also associate your larger library with iTunes match if you associated your Apple ID with it. However any purchases in the library made from another Apple ID will not be matched with iTunes much.
    If both libraries are part of iTunes match, then all your devices will see all of the content from both libraries, which content you choose to have on those devices and which you have accessible via iTunes match is entirely up to you.

  • General Question on Proxies

    Hi,
    I have few general questions....
    How to decide which proxy to be used: Java or ABAP?
    What are the deciding factors?
    Which one is better when it comes to performance?
    Regards,
    Rajani Kumar

    bump

  • Where to direct a general questions about foreign films subtitles?

    I recently purchased a foreign film "Break Ke Badd" from the iTunes store. Although, it didn't specify that it had English subtitles, I assumed it did. After the full download, I tried to watch it and there weren't any English subs. I contacted iTunes and they more than happy to refund the money back to my account. Now after a few weeks, the iTunes store DOES list Eng subs for this film. I don't want to purchase it again and have to contact iTunes for another refund...Therefore my question is, is there a general question contact one could use to find an answer to my question. Basically, to verify that this movie, indeed has English subs before I re-purchase. 
    Any info is appreciated!

    Yes I know as the [https://support.mozilla.org/en-US/questions/ Questions] section is more for desktop Firefox support and the place I linked to is for "Firefox OS" support in English where some who are involved with it do post in it occasionally.
    I would have moved that [https://support.mozilla.org/en-US/questions/962783 thread] to the "Firefox OS" English section, however I cannot as the [https://support.mozilla.org//questions/ Questions] and [https://support.mozilla.org/forums Contributor Forums] are not the same.

  • Camileo charging problem (solved) and a general question!

    Hi all!
    First of all, I was going to ask for help as to why the Camileo S10 was not charging (the orange light wasn't flashing), and I'd seen a few people with similar problems.
    The solution?
    Give the contacts on the battery a clean.
    The insulation sticker that comes on it must leave some kind of residue on it, and it's enough to prevent charging. Now it's flashing away happily :]
    So my general question was, is it possible/advisable to use the camera on the mains?
    Rather than constantly draining and charging the battery during long shoots, I'd prefer to just leave it plugged in!
    Thanks very much in advance!
    Paul

    Hi
    I think the battery handling is always the same no matter what product it is
    From time to time the battery should be recalibrated.
    This means that the battery should be discharged fully and after then you should charge it again until the battery would reach 100%
    I do this with all my batteries; mobile phone battery, digi cam battery and notebook battery.

  • Update on Bioinformatics WIKI, scripting challenges, and a general question

    I am waiting for my site to go on-line at Oak Ridge National Labs (USA, Tennessee).  Should be another week or so, maybe less.
    When that happens, you will see a veritable explosion of scripting challenges in my wiki (Emerging Technologies->Bioinformatics.)
    One general question in preparation for these challenges.
    There are a number of standard  bioinformatic programs that can be run interactively via the web at various sites, e.g. "BLAST" and "STRIDE". 
    Although these can also be run locally, this requires that you download large databases and keep them updated.
    So here's my question to the scripting experts:
    Are scripting languages powerful enough to submit queries to web pages and then use regex's to parse the html that is returned?
    Bill Mann has used PERL to do some of the required regex parsing, but there is a lot left to do, and, his stuff only works when a perl program is invoking a bioinformatic program locally, not interactively.
    If so, we all can do some beautiful stuff together , if anyone is interested ...

    ...my wiki on...
    There is by it's very nature no such thing as MY WIKI, except you run your own wiki project in an exclusive mode. Which were...well ... unusual.
    Are scripting languages powerful enough to submit queries to web pages and then use regex's to parse the html that is returned?
    Yes.
    anton

  • Delete scriptcode - General question: capacity limit of Acrobat Windows

    Hello everybody,
    I've got a general question to the capacity limit of Acrobat Windows.
    I often make forms with
    for instance the current one has 18 pages. Eleven pages have fields on it. (But some pages have only one field on it) The fields of one page to another are sometimes linked with script code. The file needs nearly 1 MB.
    Usual I write the script code by a double-click on the field/ calculate/ custom calculation script. (Is this the right way?) Today it happens again that a field with script code lost the script code.
    That's why I wonder whether there is a capacity limit of Acrobat Windows or whether I make mistakes. (This is only one instance of several where the form has his own life.)
    Thanks in advance for helping me!

    http://forums.adobe.com/community/acrobat/acrobat_scripting

  • SAP GRC Process Control - General Questions

    Hi all,
    We have the following general questions regarding SAP GRC Process Control:
    1) Assume that we have set up 5 different SAP Connectors in Process Control. When you configured a specific rule and control and then, schedule the job for such control, how does the system (SAP Process Control) knows which back-end system needs to be accesed for such control?
    2) In which language are the out-of-the box rule steps's script coded? In which different languages can those scripts be coded, what is to say, in which language can we code our own scripts?
    3) How is the detailed flow between SAP Process Control and SAP Back-end system?
    Many thanks. Regards,
        Imanol

    null

  • General Question re logical workflow (Multiple Products/Sales Teams)

    Currently we are upgrading from a highly customized CRM environment developed in CRM 4.0.  We are hoping to move to an out of the box solution with 2015.
    But I have a general question. We are a service company with different sales groups for each of our products.
    Currently we have customization for each service so a Sales person is assigned to a specific product for the customer.
    So my question is, how is this handled out of the box.  I am sure there are many many many companies in the same situation.
    So say 10 products with sales group for each product.
    Then a customer with multiple departments.  Each sales group needs to contact the specific department.
    So a customer could potentially have 10 different sales people contacting different people in the customers organization.
    How do you know when someone has already made contact?
    If we just look at the activities it is not very clear that contact has been made for a specific product. 
    Even with our customizations, there have been many situations where 2 sales people contact the same person at a clients office and we end up looking very unorganized.
    Any thoughts or comments are appreciated.
    If this is not the right place to post this type if discussion, please redirect me.
    Thanks

    As an example, for 37-minute sequence of footage (made up of multiple clips) it's taking 50 minutes to first export a non-self-contained, time-code-reader-filter-added Quicktime.
    Did you render fully before you exported? That helps. But this is also a GOP format, and it takes longer to do pretty much everything, as it is a processor intensive format.
    1) How much more memory would help this work flow go faster, and approx. how much faster??
    None. RAM doesn't come into play here. PROCESSOR speed is all that matters. What will make it go faster is enabling QMaster to have Compressor access all cores of the processor. Or getting hardware to help with the compression, like the Compress HD from Matrox. But that only boosts encoding to H.264.
    2) Has anyone else done this type of work-flow, and been able to do it more quickly? Is RAM the issue? Any suggestions for a more efficient work-flow?
    RAM isn't the issue. Faster Processors, hardware boosting...converting the footage to ProRes before you begin editing...all help.
    RAM isn't what is hindering you here.
    Shane

  • Newbie question - general question about e-mail sync

    Hi,
    I have a general question about email sync and BlackBerry smartphones.  Are there any devices that allow email syncing with a Microsoft Exchange 2007 system that do not require the BlackBerry Enterprise server?
    Thanks; sorry if this has been asked before but I was unable to find it in the forums, documentation, etc.  Everything I found assumes that for this kind of environment you will be using a BlackBerry Enterprise solution, but I can't assume.
    Thanks again.
    Solved!
    Go to Solution.

    Hi and Welcome to the Forums!
    If the Exchange server has anything that faces the internet (OWA, POP, IMAP), then BIS can be used to handle email (only email...calendar and contacts require BES to sync OTA).
    Or, a PC, inside the network (but with an internet path) and logged into the email server (using Outlook), can be left running, using the RIM Desktop Software's Desktop Redirector capability to forward  messages to the BB.
    Those are basically the options.
    Hope that helps! Let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Business Objects Training -General Questions

    Hi,
      I am just Going through the Business Objects...had some few general questions.
    1)What  is the current Version on BO
    2)Where does Crystal reports & Xcelsius fit in Business Objects
    3)Does Power Center & Informatica are also included in Business Objects
    Thanks

    The latest version of Business Objects Enterprise is XI Release 3.1 Service Pack 2. There have been several fixpacks delivered on top of this as well.
    Crystal Reports and XCelsius are tools to build Reports and Dashboards respectively. While XCelsius is suited for creating sleek dashboards with very aggregated data - usually less than 2000 rows per report, Crystal Reports can be used for reporting off data warehouses requiring reporting off large data sets.
    Informatica Powercenter is a tool proivded by an independant vendor and is not a Business Objects Product. Business Objects Provides Data Integrator, which is pretty much as rugged as Informatica and provides all the functionalities of ETL(Extraction Transformation and Loading).

Maybe you are looking for

  • Back ground AVAC: No Budget Error

    Hi, Our Projects are assigned a Budget profile with the following settings: Activation Type 2               Usage    1.00 Overall - X (ticked) Releases -   (not ticked) In define tolerance limits, the settings for the budget profile are: Tr Grp - 00,

  • When i send a photo taken on ipad it appears upside down at addressees but fine on ipad email

    when i forward a photo taken on ipad it appears upside down to addressees but fine on my ipad email as a cc copy?

  • How SDA and DDA works in Java Card?

    Hi Friends, I want to know how exactly SDA and DDA works in Java Card technology.. Yes, i know that SDA (Static Data Authentication) is valid for every transactions, but the key used is always same for every transaction made.. and DDA (Dynamic Data A

  • Web Enterprise Manager Default Port Number in Oracle 9i

    Enabeling Auditing on database 9.2.0.8 Web Enterprise Manager Default Port Number in Oracle 9i: Does anyone know the default port number of the web enterprise manager (Oracle 9i)? If I installed or configured enterprise manager and I forgot the port,

  • Opening photo goes blank

    After I imported my photos, I changed the name of the folder in my finder and now I cannot open the photos, it opens blank. I guess this happened when I changed the name and now iphoto cannot find the source, how do I fix this problem?