Deploying BC4J application: the right choice

We have developed three applications (A, B, C):
- A is a BC4J application
- B is a JSP application accessing A
- C is a Java GUI client accessing A
We want A and B to run in the same web server, so we would have chosen LOCAL deployment for application A.
The problem is with application C that will run remotely on individual client machines.
The questions are:
1. Can application C access application A deployed on the server using BC4J LOCAL deployment?
2. If not (as I think), what kind of deployment (EJB/Corba) and platform (Application Server/Oracle Database Server) should be chosen for my scenario to give better performance?
Any help would be very appreciated.
Thanks in advance.
Michele
null

Hi Michele,
the official solution for your problem would be:
Deploy A as EJB session bean or Java CORBA object to an appropriate server.
Let B and C connect to the common business logic tier.
But:
Currently (JDeveloper 3.2.3) an EJB deployment of BC4J apps to OC4J isn't supported, so: If you want to use Oracle9i AS, you have to deploy to the EJB/CORBA Server implemented in the Oracle Database. We tried to do this and had lots and lots of problems, mainly performance problems. If you ask me: Don't do that!
We tested the deployment to Borland Visibroker and got it work after a while, and your little example worked quite good. So probably you could ask for experiences with other App Servers.
If you can wait, try to test EJB Session Bean Deployment to OC4J. I saw some demos on the Oracle OpenWorld in Berlin/Germany and it seems to have a quite better performance and stability. But: This will be supported by JDeveloper9i, what should be available as beta release end of this month, and production at the end of this year. So probably you can't wait that long.
Sorry, but that's the way it is...
To Raghu/JDev Team: Any better advice?
Regards
Stefan
null

Similar Messages

  • RMI: Is it the right choice?

    I want to make an application that connects to 1 other peer. So I'd run the application and if I type in the IP of someone else running the same application, we can connect to each other and do stuff like chatting. Is RMI the right choice to make this happen?

    I would use Apache MINA library. Its easy to use, fast, more firewall friendly than RMI, more language-independent transmission format. http://mina.apache.org/
    Really. Where does it say that MINA knows a firewall from third base?
    Mina is a Java NIO library that just does TCP and UDP communications and intra-process pipes.
    It's not a competitor for RMI in any sense that I'm aware of.

  • Is Netweaver the right choice?

    We have recently upgrading our portal/webdynpro server to NW 7.0 Support Stack 14 (J2EE only).  While this stack level fixed some issues that we were having (in particular cleanup of JCO pools to prevent expired SSO ticket errors) it also introduced some other problems with Oracle.  This has led us to the discussion of whether Netweaver is the right choice for our custom application development environment. I'm posting this to get some feedback on what other companies are doing with their Netweaver enviroments.  I'm particularly interested in custom application development using webdynpro and the Netweaver Portal.
    We've been running various permutations of the Netweaver platform since 2005 (BI, Portals, and now ERP).  We are using a single J2EE instance to host the SAP EP, a custom jsp "intranet", and our webdynpro apps (we have 6 custom webdynpro apps).  Our user base is somewhere between 150-250 users.  We use the portal to access these custom apps, our BW web templates, and some SAP transactions.  With the rolllout of some of these custom apps, our portals environment is now becoming mission critical and we seem to continue to have problems with the stability of the J2EE engine on the portal machine.
    Are other customers having stability problems with NW04s?  Are other customers using web dynpro and SAP's enterprise portal for Mission Critical applications?  If so, what do your environments look like?  If not, what are you using for custom applications that communicate with SAP and other systems?
    Thanks for any and all input
    Eric

    Assuming your legacy apps don't need to update the new OM system an MDB sounds reasonable. You may want to consider passing the messages as XML and using a library (JAXB/P, castor etc) for parsing / inserting into a database.
    You should also work out how to handle technical failures updating the legacy database and poison messages (i.e. when an invalid message is received). You may decided to automatically retry technical failures a set number of times before moving them to a backout queue. There's no point retrying poison messages as they'll repeatedly fail, but you may need to fix / manually insert them.

  • Is MDB the right choice?

    We currently have a legacy order management application which is going to be replaced by a popular off-the-shelf OM product. The data modeling and concepts of the new OM application are different from the legacy application. Currently there are quite a few applications which directly connect to the legacy DB by JDBC etc for their data needs. In order to avoid impact on those applications it has been decided to keep the legacy DB as it is and feed the data from new Order Mangement application to the legacy application. We cannot use DB level replication due to some constraints. I am planning to create the new application, using MDB. It will subscribe to the messages generated by the business events happening in the new Order Management application, translate the data to legacy format and insert the data into legacy DB.
    Is MDB the right choice for this or do we have a more appropriate way of doing this?
    Also please let me know if there are any desing patterns which address this kind of a problem.

    Assuming your legacy apps don't need to update the new OM system an MDB sounds reasonable. You may want to consider passing the messages as XML and using a library (JAXB/P, castor etc) for parsing / inserting into a database.
    You should also work out how to handle technical failures updating the legacy database and poison messages (i.e. when an invalid message is received). You may decided to automatically retry technical failures a set number of times before moving them to a backout queue. There's no point retrying poison messages as they'll repeatedly fail, but you may need to fix / manually insert them.

  • MacBook Air: the right choice for a College student?

    Hello there!
    I'm buying my first Apple laptop in the near future (probably tomorrow as I like to buy things in store and not online and I live roughly 75 miles from the nearest Apple store and am heading to the mall it's located in on a shopping trip tomorrow, anyway). I currently have a 3 year old Dell that has no battery life at all (it has to be connected 24/7 to an outlet, the mouse clicky button doesn't work, it overheats, and the hardrive has already been replaced not once but twice) and I don't use it for anything other than school, facebook, watching movies via netflix, skype, and listening to music. I've been doing months of research and all has lead me to Apple.
    I want this laptop to last me until I am done with my masters and into the first couple years of my teaching career, so roughly 6 years. Is that too much to ask from this machiene?
    I'm inlove with the thiness, lightness and portability of the Macbook Air. I use my laptop a lot, this semester I'm finishing out my core requirements and a lot of them are "bullsh*t" classes where I can do nothing and get an A. I would therefore have my laptop with me, I also bring it to friends rooms to study and relax. My goal is to have a laptop that I can write papers, continue to watch movies and use it as a basic machiene. I barely use a cd drive (my aunt is willing to by the drive that goes with the Air) but when I do it's just for burning music to my itunes. I want a machiene that will have a long lasting battery life - that's my biggest concern.
    My roomate has a Macbook Pro and keeps telling me that I'd hate the Air.
    I've read that people do not like it as it does not have a backlit keyboard. That doesn't bother me as my keyboard currently isn't backlit.
    I've also read that people continue to prefer the pro over the air but I am not a fan of the pro just as it is so much bigger.
    I barely ever use my USB drive, when I do its to transfer over files that need to be printed.  So having only two of them means nothing to me really.
    I'm just looking for assistance to help me make my decision. I feel like I already made it but I just want to be sure that I'm making the right choice.
    My personal pros/cons:
    Pros: lightweight, small, highly portable, amazing webcam, excellent battery life
    Cons: it's so thin I feel like I would snap it in two pieces
    Thank you so much!

    Listen to us, Lovekate!
    We know you're eager, but hold out just a little longer--maybe a week or two--for the update! Please! It's the smart thing to do because it may give you options you can use. Kate! Look away from the machines. This way! This way! You can do this. If you don't, you'll feel buyers remorse and that's not good. Hold off. You'll be happy you did...also, don't forget, when you do buy, you get a student discount.
    From what you say, you've found the computer you love and don't need any encouragement from us. But here's advise for what you can say to your friends:
    (1) To those telling you to get the Pro--you are not going to buy more than you need. With Clouds, and online mail and external hard drives, there is no need for you to haul around anything made heavy with a huge hard drive you'll never fill up. And the Air can do anything a Pro can do excepting update to a bigger hard drive (which you've just explained you don't need--like you don't need the CD drive). And the 13" actually has a longer lasting battery than the 13" Pro.
    (2) Why should you get a computer you don't love, and therefore is no fun or joy for you to work on, rather than a computer you love, which you will love working on? Apple rule, "Always get what you love." 
    (3) To your Dad, you are buying something very like a car. And like a car, if you buy one cheap, it will cost you if it breaks down, needs repairs, or needs replacing. Needing to buy a new cheap car every other year can add up to the same cost as buying a new car that will last you ten years. You are buying a computer that will last you, be reliable, and not need repairs thus interfering with your productivity (by the way, get Apple Care--adds two more years warranty for a total of 3 years--trust us on this. If you can't afford it now, you can hold off buying it till the end of the first year, but do get it!). Apple computers also have good resale value.
    In short, as much as it costs, it will be worth it.
    Hope that helps, and remember...hold out! or if you've already bought it--you have 14 days to return it.

  • Hello Everyone, I want to purchase an ipad ,please suggest whether ipad mini is the right choice to go for or not?

    I am planning to buy an ipad mini, please suggest me whether its the right choice to go for or not ?
    Hows the display?

    The Ipad 4 has a stronger processor, and better graphics and display than the Mini. but they can basically do the same things.
    Obviously one is smaller than  the other, but at the end, the games will still play on both, and you may not even notice a difference.

  • The right choice

    hey, i have been reading around this site a. Is there no live chat at all for support or sales to discuss the best solution?? anyway.. i need some help making the right choice and setup with skype for my small business.
    There is two employees currently, we would like to have our own company number so we dont have to use our personal mobile numbers. if i am out of the office or just in general i can forward the calls to my mobile, or turn on the answering machine.I understand skype can do this.
    is my undertsanding correct for the following-->
    1--Me and my business partner both download skype for business.
    2--One of us downloads skype manager ( or is it a cloud thing?)
    3--Skype manager then adds both of our "skype for business" accounts to the skype manager
    4--Manager can then allocate funds
    5-- we both use skype for business as normal
    Q--how do i use skype business or skype manager, and have the premium membership etc., and what would this cost me per month ( australian)
    Q--how does a skype phone number work when you have two employees?
    Q--Are the skype numbers associated to the business account or the skype manager account
    Q--do i even need skype manager for just two employees when really only one person will
    make most of the calls.
    I may have this understanding wrong, and maybe someone can tell me a more effecient way for my small business to set up skype etc?
    thanks for the help

    Hi Martin
    With all you've said, the only advice I can give you is "go ahead"!
    You already know what to expect. Max out the RAM, and you should be set.
    Peace
    G

  • Is it the right choice to make ODI as ETL on OBIEE?

    Hi ,
    I have multiple source (file,xml,progress,express)
    And target is oracle (warehouse)
    Can ODI make the dimensional table from the multiple source?
    Can ODI do support the OLAP ? which way?
    Is it the right choice for DW with OBIEE?
    Sorry if this question will shown my foolish about BI.
    because I once use ODI on Data Integration part not BI part.
    Thank you

    Cristiano,
    My first suggestion is to rename your file. The "%20" in "cSegno%20flash%20page.html" indicates you actually saved it as "cSegno flash page.html." Spaces are not a good thing in file names. Better to use hypens or underscores when yon want to delineate word separation, like this (mixing the two conventions in one example): "cSegno-flash_page.html."
    I believe your site can be recreated using Dreamweaver to write the HTML and CSS, and can probably be affected using hot spots or jquery. Check out jquery solutions here. Whether you yourself can do the conversion will depend upon your coding skills. And people here will be happy to help.
    Chris

  • How to deploy BC4J application as session EJB  to OC4J manually?

    We have created a BC4J application with JClient as a client server interface. BC4J is to be deloyed as Session EJB to OC4j.
    I need to know how to deploy the BC4J application as session EJB to OC4J manually (at the customer's site without the JDeveloper).
    Thanks.

    If you just have OC4J.
    java -jar admin.jar .....
    You can look at the commandlines when you use JDeveloper to deploy to a standalong OC4J and just use them pretty much.
    Or if they have IAS, use the Enterprise Manager web console to deploy your EAR files.
    Rob

  • Error while deploying planning application : The application app1_ENABLE_FOR_OFFLINE is invalid

    hello,
    i am trying to deploy EPMA planning application.
    i was successfully able to validate app1 application.
    but not able to deploy it. in status it show aborted as status & progress as 100%
    when i checked log it shows as follow,
    [Jul 26, 2013 11:10:58 PM]: Parsing Application Properties...Done
    [Jul 26, 2013 11:10:58 PM]: Parsing Dimensions info...Done
    [Jul 26, 2013 11:10:58 PM]: Creating Application app1...Done
    [Jul 26, 2013 11:11:16 PM]: The application app1_ENABLE_FOR_OFFLINE is invalid.
    [Jul 26, 2013 11:11:16 PM]: null
    [Jul 26, 2013 11:11:16 PM]: An Exception occurred during Application deployment.: The application app1_ENABLE_FOR_OFFLINE is invalid.
    any idea?
    thanks in advance,
    - DM

    hello John,
    the datasource for this app_1 is data_1.
    The default property value of ENABLE_FOR_OFFLINE is true in HSPSYS_PROPERTIES table.
    when i change its value to false and then tried to redeploy application then i get the “application already exists” error.
    so i created another datasource data_2.
    and copied this app_1 to create new application as app_2.
    then i validate app_2 application successfully.
    but before deploying this application app_2, i can not find its datasource entry in relation database in HSPSYS_PROPERTIES table.

  • BAM - Is it the right choice?

    I'm pretty new to BAM/BizTalk Server.
    After reading some articles regarding BAM, it seems that it is a tedious process to design a BAM solution.
    Our BAM needs are pretty basic, like displaying state of each of the workflow/message currently running in the BizTalk server. We do not require much-dimensional models and OLAP cubes. Just some basic way to query BizTalk data.
    Is BAM the right chocie for us? Any other option?
    Haider

    Hi Haider,
    First of all, it's not tedious process to design BAM Solution. I assume you want have visibility as to which workflow got failed, successful, the time it consumed and other business metrics etc.
    I would ask you to go through
    Business Activity Monitoring Tutorial it will surely make things look easier and less tedious.
    You can also have look at following article for more insights :
    http://social.technet.microsoft.com/wiki/contents/articles/5599.business-activity-monitoring-bam-survival-guide.aspx
    But if it's about only message status, service status or application status then you can utilize
    Administration console
    and
    Group hub page (for basic queries).
    Tracking is required in either case,
    BizTalk Server: Tracking Data Using BizTalk Admin Console and
    BizTalk Server: Checking Data Using BizTalk Admin Console 
    Maheshkumar
    S Tiwari|User
    Page|Blog|BizTalk
    Server: Multiple XML files to Single FlatFile Using File Adapter

  • Is SQL Server Express / SSRS the right choice ? (Winforms / SQL Server Express)

    I am currently using VB.net 2012 (WinForms) and SQL Express 2012 in developing a Cloud based dental application (at present
    www.VisualDentist.com). At some point we will upgrade to a proper SQL Server license.
    Is SSRS the right way to go?
    How do I obtain SSRS?
    Can you point to a SSRS tutorial?
    We already have a Telerik license, but are thinking of adopting SSRS.
    Thanks,
    John

    Hi,
    why not, but this depends on your requirements. You can take a look at the public documentation here:
    http://technet.microsoft.com/en-us/library/ms365166(v=SQL.105).aspx
    http://technet.microsoft.com/en-us/library/bb510782(v=sql.105).aspx
    Dependent on your requirements it might be a good, but you should better now after reading the information mentioned above.
    -Jens
    Jens K. Suessmeyer http://blogs.msdn.com/Jenss

  • Is ARD the right choice if I want to manage my OWN desktop mac remotely?

    I have a macpro in my home office and a macbookpro that moves around the house with me.
    I was telling the Apple store fella that I wish I could use my MBP to somehow access/use/monitor my tower machine without being chained to it all day and he says ARD is what I need.
    But after reading the specs, it doesn't seem to specifically state that its a great way to use your laptop to remotely logon and USE your tower machine.
    I do a lot of video editing on the tower and hate to be chained to it all night while it's loading or rendering video. Also, since I'm only one person using two machines, I want to only view and use my mail application as though I'm sitting at the tower.
    Can someone simply tell me if ARD is the right answer?
    -James
    mac pro and macbook pro   Mac OS X (10.4.10)  

    Apple Remote Desktop does indeed allow you to observe and take control of another system. But if all you need is to be able to control another computer, then ARD would be overkill. Look into the freeware VNC. That will give you control capabilities and not cost you anything. You can find VNC applications for Mac here. Most people seem to find Chicken of the VNC works well for them.

  • SAP ABAP -- Is it the right choice for entering into SAP Technology

    Hi
    I have 4 years experience in JAVA/J2EE. But I am planning to switch my career now to SAP. I am planning for doing course in SAP ABAP.
    Please anyone suggest me if SAP ABAP would be a right choice. And how is the demand in SAP ABAP at present.
    Can I explore myself in SAP ABAP at this point.
    Best Regards
    Ranjan

    Just out of curiosity - why switch to SAP in the first place?
    Yes, if you are good at programming, then yes ABAP is the way to go. But please remember that while searching for jobs you will still be considered a fresher - in ABAP. You JAVA background has very little - if not zero - significance when it comes to experience.
    Of course you can go ahead and explore the ABAP world. You can download the trial version from the site and start pulling a few levers to see if you are comfortable.
    pk

  • Is JAAS the right choice for me?

    I'm trying to get my head around what JAAS is and if its the right thing for me to be using for an application I'm writing. Let me describe the situation:
    Its a client-server system. The client connects to the server and sends a username and password to authenticate itself. I want the server to check the username and password against the server's local accounts to check that the password is right.
    Am I right in saying that JAAS will not do this and will in fact only validate the user that the server process is running as?
    I there something better that I could be using?
    On a slightly different note I would also like to be able to change the user that one of the threads of the server is running as. Is this possible with any pre-existing technology, or is it possible with a bit of JNI?
    Mossop

    Ok, maybe I should give JAAS a try then. Its a linux/unix system so I can just knock up some native code to implement a LoginModule that calls the standard PAM library
    The point of changing the user that the thread is running at is to ensure that the thread cannot access any files on the server that that particular user should not have access to. Unless anyone can suggest a platform independant way of doing this, I can only think of 2 ways, both involving native code:
    1. Have some native code that given a username and a filename will return what permissions the user has on the file. This would I imagine be quite a pain to write.
    2. Have some native code that changes the user that the thread runs as. Then we can query files through the File interface, and what's more, bugs in the java code cannot accidentally access files that the user shouldnt be able to access.

Maybe you are looking for