Why oc4j allows to use File IOs and manage thread in EJB?

I don't understand why Oc4j 9.0.2 allows to use File IO and create thread in EJBs? These things should be denied in its implemenation.

Any chance I can get this data?

Similar Messages

  • The difference using file text and using database ...

    whatz 'p dude !!!
    yo men i have a little quest bout using file text and
    usig database .
    the quest is :
    if u a programer tell me, if u use file text why u use that ?
    whats the advantages using file text for saving record ?
    and if u use database like jdbc,sql,orcle for making java
    what the advantages using them ?
    can u give me some hope plizzzz

    if u a programer tell me, if u use file text
    why u use that ?Text files are good for storing things like configuration data. For this, you are best served using java.util.Properties to store data in any easily accessible format. That's the problem with text files, you have to invent a format and a way to read/write that format every time you use a text file for a database. Sure you could use a standard format like CSV, but you run into big problems when your database exceeds several megabytes in size. Doing something a simple as reading a single field from a file usually involves reading the entire file. That can kill performance if you have to do it repeatedly and often.
    and if u use database like jdbc,sql,orcle for
    making java what the advantages using them ?Java was made with C, not with JDBC, SQL, or Oracle. SQL is a language for reading and writing data from a database. JDBC is a Java interface to interact with databases. And Oracle itself is a relational database.
    The advantages of using a database are ease of use, performance, and reliability. All you need to know is JDBC and SQL to read/write data from a database (though SQL varies slightly with every different database). Databases use indexes to allow them to quickly find rows and fiels in a database without having to read the entire database. Most of them cache data in memory to speed things up too.
    That's it. If you want to know more, search Google or buy a book or two :)
    can u give me some hope plizzzzI'm hopeful you will realize that you make yourself look like an idiot typing like that.

  • HT204266 Why can't I use paypal?  And if I can't use paypal why do you list it?

    Why can't I use paypal?  And if I can't use paypal why do you list it?

    I suspect it is a case of different rules in different regions. Here in the UK I have a choice of Visa, MasterCard, Amex, ClickandBuy (who they?), Maestro and None... Where are you seeing PayPal advertised as an option?
    tt2

  • Where is "cut" command in Mac? Why I cannot cut a file/folder and paste it somewhere else?

    I'm a professioinal who made the big step to pass from Windows to Mac. I do not regret it but there're things I cannot understand and i supposed being much easier or "native" in Mac.
    Tipical example is the Cut command. I see it in Finder but why doesn't if work? Drag and drop do not copy but works like a ct and paste! I think if for mac this is enough Apple is gonna make it work bacause is a HUGE limit, specially for people like me who manage thousands of photos and cannot risk to drop huge amounts of files in a go or in a wrong folder of such.
    Please tell me I'm wrong and there's a way to sort it out!
    Thanks.
    D

    You can cut and paste items with Finder, a new feature in Lion, but it doesn't use the command-X "cut" command and is not very intuitive.
    Highlight the item(s) to be moved, and type command-C to copy it. Then navigate to the destination window, and rather than pressing command-V (or Edit>Paste item) , instead press Option-command-V (or hold down option when using the Edit menu). This changes "paste" into "move item here", i.e, the item will disappear from where it was copied. The result is equivalent to a "cut and paste."

  • Problem using file sharing and screen sharing in Leopard

    I have Mac OS 10.5 Leopard installed on 4 computers in a Home Network and have a problem with sharing files and using screen sharing. Here is my setup.
    MacBook Pro with my logon ID
    MacBook Pro with my fiancee's logon ID
    Mac Mini with both of our logon ID's
    Mac Pro with both of our logon ID's
    The problem I have is I am able to access the Mac Mini computer where we have an external Hard Drive connected for data. She is also able to access it. The only problem is we have it set up to only share this external USB drive. Yet for both of us it shares the external drive along with the internal Macintosh HD. Fortunately this is not a very big deal but since I'm not sharing all those drives why is it doing this?
    Also, I am able to connect from the Mac Mini for example to my MBP and vice versa for screen sharing along with file sharing. Yet if she tries to connect to the Mac Pro from her MBP and vice versa it won't. It simply times out and will never connect for screen sharing or file sharing but yet the Finder shows the Mac Pro. We have a 2nd hard drive in the Mac Pro which is the one set up for file sharing. I am also unable to connect to the Mac Pro's HD. Everything appears to be set up correctly. For my MBP on the Finder it shows the Mac Pro but once again I am unable to connect to it for screen sharing or file sharing.
    Also, not sure if it's related but even for her MBP she is unable to connect to it from any other computer in our network although it's set up for file sharing and screen sharing so I'm not sure if it's related to her logon ID. Then again as mentioned above neither of us can connect to the Mac Pro.
    I tried to make the above sound as simple as possible. I am relatively new to networking and of course Leopard but even on the Mac Pro all settings sound the same as on the Mac Mini where we can both connect to. The only big difference is on the Mini we are connect to a USB external drive, on the Mac Pro an internal drive. Is there something I could have overlooked or are there known issues with Leopard's sharing features?
    We both have .mac but since we are using this on an internal network (some wi-fi, some wired, all through an Airport Base Station Extreme) I would think this has nothing to do with Back to my Mac.
    I appreciate any help with the above.

    FaceTime doesn't do any of that, so I'll assume you mean Messages.
    From the Messages menu bar, select
    Video ▹ Connection Doctor
    In the window that opens, select
    Show: Capabilities
    There should be a checkmark on the line with the words "1-on-1 video chat." Select
    Show: Network Status
    You should have two green dots.
    Make sure that you and the other party meet the applicable requirements shown in these support articles:
    Share your screen
    Requirements for audio chats, video chats, and screen sharing
    See also:
    Fix video chat issues

  • Why I can't use javac? and why my program doesn't pop up cmd window?

    I have 2 questions here:
    1) I try to compile my HelloWorld.java using command prompt,
    javac HelloWorld.java
    But it won't work; by right it should create a HelloWorld.class. When I go to Configure/Options/JDK Profile, it is already showing JDK version 1.6.0_07. My environment variables show User variables and System variables with C:\Program Files\Java\jdk1.6.0_07\bin. This is where my JDK is stored, but I don't know why I can't use javac. It keep saying
    'javac' is not recognized as an internal or external command, operable program or batch file
    2) Why is it when I run my java script using JCreator, the print out appear in the box below in JCreator and not in command prompt? How can I make it pop up on command prompt window?

    Things tend to move fasterYep... until something goes wrong... then you're completely stuffed, because you have no idea what's actually happening, because the idjit IDE is hiding all the gory details... it doesn't even tell you what it's doing, let alone how it's doing it, or what to do when it fails.
    Another argument for the command line is that it's simple. There are 16 distinct dialogues involved in adding a new jar to a library in jBuilder... There may well be less than 16 characters in the equivalent edition to the equivalent build command line. That's an extreme case, I admit, but it goes to disprove the notion that IDE's are simpler for noobs.
    Also, it's easier to get help on command line usage... because it's all text based you can just copy & paste the problematic command and it's output, and the eggspurts (tm) can do likewise with a response... and there are limited number of command lines out there... and *nix, windows, and mac cover maybe 99.5% of java users... and the eggspurts are likely to know all three (colectively if not as individuals) fairly well, because they deal with them all day every day.
    My belief is that noob's are better off at the command line until such time as they need (not just want to play with) a visual debugger... at which time its time to download netbeans and eclipse, and see which one suits you better... if you have money to splurge I'd also evaluate intelliJ... But avoid jBuilder, 2008 is total carp! The FREE eclipse is (IMHO) "nicer to use", and it has a LOT less bugs.
    Cheers. Keith.

  • HT5887 Why doesn't AirDrop work between iOS and OSX?

    Apple has almost always never fail to seamlessly integrate its devices, until now? I understand that there is iCloud for content sharing between devices. However, AirDrop was introduced as a simpler way for users to not only share contents between their own devices but as well as other users. I understand that the logic behind AirDrop was practiced by windows users since the creation of modem, though it requires many complex steps and compatibility checks to achieve a simple logic. (and Windows never really bothered with perfecting it over all these years, its improved, still buggy)
    My question is, why can't we share contents between iOS and OSX? Everytime I need to transfer some files/content, the quickest way I could think of is to send an email to myself. Just the other day I tried to have my colleague AirDrop a file from his 5S to my MBP. I told him with great confidence that this tech existed long ago, and finally Apple decide to kick some DOS *** and launch a super simple version. And that it should by right work with any device with BT and/or WiFi, but knowing Apple, it would only be for their own products. Not in my wildest dreams it didn't work cross OS.
    Forget the embarassment, I want to be pampered by this seamless technology. I want the type of exclusiveness with my fellow family and friends of which majority are Apple lovers. I want to regain the confidence that whenever I step out of my room, whichever device I carry/left out, I can do/resume/engage everything as long as I carry an Apple device.
    Music, Videos, E-mails, Docs, Images, iMessages, are all checked. So why not Content Sharing?

    We would like to know the answer as much as you would. All you can to direct your questions to the only people who can really answer: http://www.apple.com/feedback/

  • Why does my iMessage use my email and not my phone number?

    I upgraded to IOS 5 recently and my friend wondered why he had to use my email to message me and not my iPhone's number. My carrier is Verizon and I bought my iPhone 4 in January. Does anyone know how to fix this? I already have done a system restore and that did not work.

    Go to Settings>Messages>Receive At>Caller ID and select your phone number instead of your email address.  If you don't see your phone number and/of you don't see the Caller ID setting, your phone number is not yet activated with the iMessage server (and you will notice that is says "waiting for activation" under iMessage).

  • How to generate .pdx file using File Adapter and FTP Adapter

    Hi,
    is it possible to genearate .pdx file using oracle ESB Adapters(File Adapter and FTP adapter).
    Can you anyone guide me.
    Thanks,
    Raj.

    hi,
    regarding report, there is a dedicated report forum. you should post there.
    but answer for your question is form is nothing to do with the pdf generation. you can call the report from the as usual.
    In the report you should set the properties like
    destype to 'file'
    desname to 'path with file name'
    desformat to 'pdf'

  • Do I need to use open directory on Yosemite Server, I'm only looking to use file sharing and VPN

    I'm setting up a new mac mini server with Yosemite and I was wondering if there are any advantages or disadvantages to not using the open directory service? The only services I'm planning on using are File Sharing and VPN.

    You don't need Open Directory unless you want to manage user accounts centrally on the server.

  • Why can't I use my imessage and facetime using my wifi at home?

    I can't use my imessage and facetime over the wifi at my home?
    At first I can't verify my account. It says that theres a connection problem.
    But I tried using a wifi at mcdonalds it works just fine to verify my account.
    Then I tried it back at my house wifi. Yet again it couldn't sent any messages or anything for that matter.

    Whithout more information:
    iOS: Troubleshooting Messages

  • How to control permissions in KM using File System Repository Manager

    Hello everybody
    I have a scenario with 15+ file servers which content needs to be mapped into Portal KM as read-only.
    Windows Authentication is configured on the portal, so the users don't need to supply the portal with username/password.
    Now the users are of course only allowed to see the same content in the portal as they can see on the file servers. I know that the permission mapping can be done using a File System Repository Manager with W2KSecurityManager, but in that case the users will have to maintain the mapping of rights from windows to portal manually. And with ever-changing passwords this is too big an administrative task. So I am looking for another solution.
    My question is therefore:
    How can you configure the File System Repository Manager in a way where it the user does not need to maintain "user mapping" manually, but only need to logon to the portal (through windows authentication) and can see the same files from the portal as he/she can see from the file servers.
    Can this information in some way be taken from the configured Windows Authentication? Or is the only solution to enable WebDav on the file servers and and follow the "Integration of Windows File Servers into the SAP KM platform Using SSO and the WebDAV Repository Manager"-guide?
    Any help will be rewarded.
    Best regards,
    Martin Søgaard

    Hi again Dirk
    I just studied the "Integration of Windows File Servers into the SAP KM platform using SSO and the WebDAV repository manager"-guide in depth and I don't quite understand what rights the cmadmin_service and notificator_service are supposed to be given in the Active Directory. In the guide it says:
    "A number of global services and repository services need to perform operations on resources in various repositories. For example, the index management service must read all resources it is meant to index. When an index is created, the service user index_service is used. Therefore, this user has to have at least read access to all repositories that are to be indexed. Other users that are used by the SAP KM platform are the service users notificator_service and cmadmin_service. When a search is taking place, it is the user that is currently logged on to the portal."
    I dont quite understand what the two service users are doing but more importantly, I need to give the two service users the correct permissions in the Active Directory (or through user mapping). I understand that index_service only needs read_only permissions, but what permissions should the cmadmin_service and notificator_service be given?
    Best regards,
    Martin

  • Why java allow start() method only once for a thread

    Hi ,
    Why java allows start method only once for thread . suppose
    Thread t = new Thread();
    t.start();
    say at later stage if again we call t.start() IllegalStateException is thrown , even though isAlive method returns false.
    Hence the question , why start() method is allowed only once.If you need start a thread , we need to create a new instance.

    Really. Why do you think that? Do you have any evidence? It is one of the first things I would think of, personally.Considering that the Thread API doesn't allow you to specify a stack address (only stack size), I think it demonstrates they wanted to remove that capability from their Thread API all together. That missing "capability" makes me believe they want me to believe it's not something I need to worry about when using their API... I think the exact semantics of the Thread class and its methods were driven by how to make it most understandable and usable for their customers. I'm certain this issue was one of many that was given considerable thought during the design and implementation of the JVM and the underlying runtime classes.
    Do I have any evidence? No. But if you can point me at some first-hand information on this, I'd love to read it. Most of what I've found is second or third hand accounts. (and I mean that sincerely, not as a smart-ass remark or rebuke of your comments).
    On the one hand you seem to think the Java API designers are idiots, on the other hand you think that they should be. I can't make it out.I thought my position was that the Java developers were talented enough to implement platform in whatever way their API called for; hence, the designers made a choice about how they wanted their API to be used by their customers. They decided which capabilities they wanted to include or exclude, and created an API that was consistent with their vision for this technology. While I'm certain technical limitations had an effect on the API design, I certainly don't think the API was dictated by the them.
    I think the current design of the Java Thread API was a reflection of their vision to make Threading easier and more accessible to Joe Programmer, not limitations in the implementation. I never said it was wrong or that I could do better... I just said I think they could have done something different if they decided it would have made for a better customer experience. But hey, maybe I'm wrong.

  • Why can't you use PipedXputStream in other than threaded application

    I have need for usage of these in a non-threaded application, however the Javadoc indicate this should not be done.
    "Attempting to use both objects from a single thread is not recommended, as it may deadlock the thread."
    As the Java community is composed of some brilliant people, I am curious as to why any limitation of this sort has not been fixed/addressed?
    What is the root cause of these deadlock situations?
    Thanks in advance.
    Steve

    899559 wrote:
    I have need for usage of these in a non-threaded application, however the Javadoc indicate this should not be done.Because using streams in a single thread makes no sense, since you can just use method calls. And that avoids the situation were you could be trying to write more than the stream buffer can hold or trying to read more than you wrote to the stream.
    data = getData();
    outPipe.write(data);
    data = inPipe.read();
    doSomethingWith(data);
    // is just a roundabout way of coding
    doSomethingWith(getData());

  • Why can't I use Windows Pictre and Fax Viewer to view JPG files in Firefox?

    Windows Picture.. is NOT one of the Applications "choices" under Options/Applications. Why not?

    See the answer given by '''''cor-el''''' here --> https://support.mozilla.com/en-US/questions/820971?s=picture+fax+viewer&r=5&as=s
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

Maybe you are looking for

  • My iphone 3gs keeps loosing wi-fi at home

    Has anyone got any ideas as my phone keeps loosing the wi-fi connection at home. Its only in the next room but keeps disconnecting. Please any ideas would be great.

  • I updated my password and can't

    I changed my password and can't log in?

  • What Master Data to hold within a Data Warehouse

    Hi, We are developing a data warehouse which will incorporate Master Data entities. We have a pre-existing Master Data Management solution which will be the system of source for MD within the DW & associated Data Marts. We have decided to have a copy

  • When i plug headphones into my computer, the speakers do not shut off. how do i fix this?

    I am running Windows & on an HP. not sure of the model number. But the sound system is IDT. It worked fine up until about a year ago. And now whenever you plug headphones in, the speakers do not turn off, but yet the headphones still work. any soluti

  • Proffesional Help Needed!

    Before I begin my problem, let me said that i am a computer literate and I knew most of the speaker and sound card out of it, So please dont reply me with simple and irrelated information. Well, I am using Creative Gigaworks S750I. Q1 The Problem I a