MP3 support for applets

Dear gurus of the forum,
I am a computer science student planning to create a website and considering the use of applets on it. On my previous website I used [Sound Manager 2|http://www.schillmania.com/projects/soundmanager2/] to play MP3 sounds. SM2 is a tiny flash program and has been a breeze to use. However, if I am to build decent applets, I'd prefer to somehow use MP3 support in Java, so users won't be required to have both Java and Flash installed.
I am a very basic Java programmer, but I know enough to get me started. However, thus far I have only been able to discover that Java supports .au sounds and more recently .wav and .aiff (which doesn't ring a bell). I have also found some MP3 player applets. However, the various old and new resources confuse me greatly on this subject.
My question is rather simple:
Is there any lightweight option to add basic support to play MP3 files in an applet? I do not need a player with buttons and whatnot, just classes with methods to use in my applet.
I can only hope someone here may be able to help me out here or send me in the right direction.
Thanks in advance,
Dysprosium

Hi Andrew,
no wonder you have 5,7?? posts.... you're just posting all day ha.... I wonder how many of those posts were actually useful,
anyways, I think that your place is somewhere in English Grammar forums or so 'cause that's all you know about...
There is no mention of that on the linked page. Can you produce a link that supports that statement?instead of wandering around, just do something really simple like googling android java platform, and RTFM from there on...
No. You think that.yes, I think, and as you can see in this reply I have some more thoughts about you !
.. then WHY DOESN'T ORACLE DO ANYTHING ABOUT IT ????? 1) There is no need to SHOUT at us.
2) One '?' denotes a question, whereas 2 or more typically denotes a bozo.
yes well, I've already said that you're great at gammar issues, way to go.
>
So maybe it is because Sun ignores shouting bozos. More likely it is because Sun staff do not trawl the forums looking for problems. That is what the [Bug Database|http://bugs.sun.com/] is for.
that's the first (and last) valuable information I got from you, you could have just replied with these two lines, or even make it shorter and just redirect me to the link, save electronic space, you're wasting it as if it was yours.
AFAIU neither Flash nor Java will be supported on iPad, so there is a new source of worry for you.who talks about iPad, dude, start getting into shape with your reading comprehension, though your grammar level is great ! Oh, and You need to start worrying my friend, you might know Java but start working on your English skills quickly...
I'm talking about Google's Android, Apple's Iphone, Windows Mobile and Nokia's Symbian.
oh, and don't bother increasing you post number by replying to this one with some more useless info.
thanks a lot

Similar Messages

  • Does HTMLEditorKit's object support include support for applets?

    Hello,
    I have a Swing application containing a JEditorPane used to display some HTML pages. I would like to embed a Java applet in one of the pages, but have had no success getting it to load.
    Is it possible to load an applet within an HTML document displayed by JEditorPane/HTMLEditorKit? From http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/text/html/HTMLEditorKit.html:
    "The <applet> tag is not supported, but some support is provided for the <object> tag."
    What does "some support" mean exactly? (I'm using JDK 1.5)
    The applet I've written loads successfully in Firefox using the following code:
    <applet code=cprgraph.CPRGraphApplet width="557" height="319"></applet>as well as
    <object codetype="application/java" classid="java:cprgraph/CPRGraphApplet.class" width=557 height=319>
    </object>The applet is in the package cprgraph, and located in a directory cprgraph which is in my CLASSPATH.
    If HTMLEditorKit can't load applets, is there an alternative that can? Or any other way to embed a JComponent in an HTML document displayed by a Java application?
    Thanks,
    Ben

    Use Java SE 6.0 beta or wait untill it is released in Fall 2006

  • MP3 support for WAVE Studio 7

    Good evening. I have the X-Fi extreme audio (PCI-E). Do you know, why Wave Studio 7 is not support MP3 files?
    Thanks?

    I too have had the exact problems ever since I started using windows 7. I have had communications with tech support and all they keep telling me is to uninstall the program, re download it and it should work.
    Well, that's like watching a re-run and expecting a different ending. It's the very same file installer , I've done it 4 times or more and it still does not let you save anything.
    My conclusion is that it does NOT work on Windows 7 and they will not tell you that. I even tried an older version of Wave Studio and got the same results.
    Maybe in the future they will fix it, but for now, they won't admit to it.
    IF you should ever find a "fix" for it, please let me know as I like that program.
    Wayne
    [email protected]

  • Does Sun plan to get around microsofts discontinuing support for Applets?

    Or are we all going to have to find some other language?

    I've thinking about it these days. And an idea came to me. Well, microsoft decides to disable applets in IE by default. This means that many users who don't know how to reenable applets (and don' even know that the technical term "applet" exists) will lose access to some content they have used before.
    What if an user saw the following title instead of the applet (s)he used to see before: "DID YOU LOSE ACCESS TO YOUR FAVORITE WEB APP AFTER UBGRADING TO WIN XP ?", followed by links to some explanations what has happenned, and maybe some VBS, that reenables applets (I have never polluted my mind with VBS, but I'm pretty sure one could change the settings of IE using it, and IT WILL DEFINITELY BE ENABLED by default) ?
    The explanations should be written by public relations-experts, not programmers, and should not come too deep into technical stuff (although there could be links to technical explanations).
    SO, MY IDEA IS:
    - Using the JCP we should develop a small site that explains to the users what has happenned and what should be done in order to recover. One could also put there links to Java Plugin, JRE, Java Web Start, HotJava, etc ...
    - We should get as many applet developers as possible to put a link to our site in their web pages - when applets are disabled, a frame with our site should be opened instead. This could be done using an automated search of geocities, yahoo and the like and posting emails ...
    There are many people who would be hurt by this microsoft action, so I think many people would support us if we ask.
    I have many other ideas too, but I want to hear other opinions too.
    And I hope that SUN will give us their backing. Any SUN people around ? Tell me what you think !

  • Warning: Internet Explorer now removes support for applet and embed

    I think this message should be here:
    http://forum.java.sun.com/thread.jsp?forum=30&thread=370869&tstart=0&trange=15
    - bjorn

    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="168" height="605" align="baseline" codebase="http://java.sun.com/getjava/">
    <PARAM NAME="code" VALUE="com.my.package.appletName">
    <PARAM NAME="type" VALUE="application/x-java-applet">
    <PARAM NAME="scriptable" VALUE="true">
    <script language='JavaScript'>document.location.href='MOD_install_java_message.html?setEvent=&programTitle=the%20Crop-Tool';</script>
    <!--
    <center>
    <table bgcolor=#000000 cellpadding=0 cellspacing=1 border=0><tr><td>
    <table bgcolor=#ffffff><tr><td>
    <font color='red'><b>Your browser does not seem to support Java.</b></font><br><br>
    You need to have Java installed on your system.<br>
    You can download it from <b>here</b>.
    </td></tr></table></td></tr></table>
    </center>
    -->
    </OBJECT>

  • WaveStudio 7.12 (and/or Audio Pack for MP3 Support) product Help files

    WaveStudio 7.2 product Help files (CTWAVE32.CHM) need to be revised to incorporate MP3 support, for those customers (like me) who have purchased the Audio Pack app for MP3 Support.
    -OR-
    Am I supposed to?just use the old WaveStudio 5.00.2 Help files (CTWave32.hlp)?
    Also, there doesn't seem to be any way of uninstalling WaveStudio 5.00.2, unless I uninstall the whole suite of Creative MediaSource software... And that doesn't seem like very much fun at all... ? So, what, should I just leave WaveStudio 5.00.2 on the machine?

    JRe: WaveStudio 7.2 (and/or Audio Pack for MP3 Support) product Help files?For anyone else experiencing this issue, the answer is:? Can't do it!? WaveStudio 5.00.20 can not be removed as a "stand-alone" application. The reason is, it's not listed as a separate program in Control Panel's Add or Remove Programs, and WaveStudio 5.00.20 has no Uninstall option.
    Furthermore, WaveStudio 7.2 doesn't seem to overwrite the earlier version (it's still there and for some odd reason, it still works).
    In order to remove the old version of WaveStudio, you must remove whichever Creative application that version of WaveStudio came bundled with.? Then, when you reinstall that application, WaveStudio 3.0 (or whatever iteration that application contained)?comes right back.
    Therefore, the answer seems to be, you have to?li've with two versions of WaveStudio on the 'puter:? 7.2?and whatever earliest version the original bundled software?came with on the Soundblaster disc. Sad, but apparently true!? So, good day!? :smileytongue:

  • Ogg support for Creative MediaSource Pla

    Hi I just started using the Creative MediaSource Player that came with the Soundblaster X-Fi Plantinum and I am trying to find out if there is ogg support for it. It doesn't seem to recognize ogg files. Does anyone know of a plugin or some way to enable ogg support for it.
    Thanks,
    Travis

    As a Last.FM moderator we see quite a lot of threads and requests passing by for a pplugin that would allow people to "scrobble" the tracks they played on any of Creatives MP3-players. (Take a look at http://www.last.fm/forum/276/_/26462, for example). The problem Last.FM faces here is that, by the looks of it, getting a timestamped log-file from plays on a Creative-player is not possible (don't quote me here, I am just the messenger, and have hardly any knowledge concerning the plugins...)I do know that there is a community that is pretty positi've about Last.FM and that moderators nor staff can help them here. Perhaps the nice people developing the software for your players might want to take a look at the site and decide that it might be a nice idea to open up the software a bit, or develop a plugin themselfs. It might prevent people (like me) from buying an iPod, which does allow me to submit my listened songs to the site...

  • No Adobe support for CC Team Members if you have installed Parallels on your Mac

    No Adobe support for CC Team Members if you have installed Parallels on your Mac
    First let me make it clear my iMac is running native OS X 10.8.5 and all Adobe Creative Cloud Apps are install on the iMac running natively in the OS X system environment. I only have Parallels Desktop 8 for Mac installed to run Microsoft Office software in Windows 7 when needed (because PowerPoint for Mac sucks big time compared to the PC version)… absolutely no Adobe CC Apps have been installed on the Parallels virtual PC environment.
    I have been having problems with Creative Cloud Desktop not updating so I uninstalled it and tried to install the latest version from Adobe. I then get the following error:
    We've encountered the following issues:
    There seems to be a problem accessing a critical file/directory during download. For troubleshooting tips. please visit our customer support page. (Error code: 204)
    [retry] [cancel]
    This has happened all last week. Because we have been so busy at work I waited until the weekend to contact the 24/7 chat support.
    This was going well. I was sharing my desktop with the agent who was adjusting the permissions of some folder. The problem came when he launched chrome on Parallels and not on the MAC and tried to install the PC EXE version of CC desktop. When I pointed this out to the Agent he instantly stop the screen share and stated in the chat box that virtual computers are not supported and I must find my own solution without giving me an opportunity to explain.
    Every time I tried to start the chat again I was cut-off while trying to explain that Adobe CC was running natively under a native OS X and the Virtual PC was a separate to this
    Only after my 4th attempt (having per cut an pasted my arguement into the chat box) did a get any further. The Agent refused to continue to try and fix my problem but did say the Adobe engineers are aware of the "204" error
    Has anyone else had this "204" error installing Creative Cloud Desktop or can  direct me to a solution it would be much appreciated

    Unfortunately I am still getting the 204 error
    I download the Creative Cloud Desktop App at home and brought it into work to install — which failed
    I then tried to install the same file on the only Mac in the office not on Creative Cloud and it installed with out any problems
    I then tried plugging my iMac into the same ethernet socket incase it was a problem with the ethernet socket. No luck it still had the 204 error
    These are the Adobe download log files which show errors but they me nothing to me
    DLM.log
    07/01/14 08:15:48:723 | [INFO] |  |  |  |  |  |  | 1743186 | *******************start of Download****************
    07/01/14 08:15:48:723 | [INFO] |  |  |  |  |  |  | 1743186 | GDE Version is 2.0.0.13 (BuildVersion: 2.0; BuildDate: Thu Jan 09 2014 20:38:50 )
    07/01/14 08:15:48:724 | [INFO] |  |  |  |  |  |  | 1743186 | The file to be downloaded is https://prod-rel-ffc.oobesaas.adobe.com/adobe-ffc-external/core/v1/applications?name=Creat iveCloud&name=CCLBS&osVersion=10.8.5&platform=osx10
    07/01/14 08:15:48:724 | [INFO] |  |  |  |  |  |  | 1743186 | Going to download the file at /tmp/B58E0DB2-C6AD-4480-B614-874A46E27582/applications.xml
    07/01/14 08:15:48:825 | [INFO] |  |  |  |  |  |  | 1743186 | Preference: Client has set the preference for single stream download
    07/01/14 08:15:50:036 | [INFO] |  |  |  |  |  |  | 1743190 | **File download complete.**
    07/01/14 08:15:50:537 | [INFO] |  |  |  |  |  |  | 1743182 | *******************End****************
    07/01/14 08:15:50:690 | [INFO] |  |  |  |  |  |  | 1743203 | *******************start of Download****************
    07/01/14 08:15:50:690 | [INFO] |  |  |  |  |  |  | 1743203 | GDE Version is 2.0.0.13 (BuildVersion: 2.0; BuildDate: Thu Jan 09 2014 20:38:50 )
    07/01/14 08:15:50:690 | [INFO] |  |  |  |  |  |  | 1743203 | The file to be downloaded is https://ccmdls.adobe.com/AdobeProducts/KCCC/1/osx10/packages/ACCC_2_6_PDIMPackage_393/mani fest.xml
    07/01/14 08:15:50:690 | [INFO] |  |  |  |  |  |  | 1743203 | Going to download the file at /manifest.xml
    07/01/14 08:15:50:791 | [INFO] |  |  |  |  |  |  | 1743203 | Preference: Client has set the preference for single stream download
    07/01/14 08:15:51:900 | [ERROR] |  |  |  |  |  |  | 1743206 | An error has occurred while renaming the temporary named downloaded file.
    07/01/14 08:15:52:213 | [INFO] |  |  |  |  |  |  | 1743182 | *******************End****************
    LBS.log
    07/01/14 08:15:43:357 | [INFO] |  | ACC | LBS | ApplicationFacade |  |  | 1742865 | ****************Starting LBS workflow*******************
    07/01/14 08:15:43:361 | [INFO] |  | Download | LBS | ProductInfo |  |  | 1742865 | Product Sap Code not specified in the product information file
    07/01/14 08:15:43:361 | [INFO] |  | Download | LBS | ProductInfo |  |  | 1742865 | Applet Version not specified in the product information file
    07/01/14 08:15:43:361 | [INFO] |  | Download | LBS | ProductInfo |  |  | 1742865 | Applet ID not specified in the product information file
    07/01/14 08:15:43:361 | [INFO] |  | Download | LBS | ProductInfo |  |  | 1742865 | Product locale not specified in the product information file
    07/01/14 08:15:43:362 | [INFO] |  | Download | LBS | ProductInfo |  |  | 1742865 | Product name not specified in the product information file
    07/01/14 08:15:43:362 | [INFO] |  | Download | LBS | LBSUtils |  |  | 1742865 | Launching LBS in elevated mode
    07/01/14 08:15:48:442 | [INFO] |  | ACC | LBS | ApplicationFacade |  |  | 1743172 | ****************Starting LBS workflow*******************
    07/01/14 08:15:48:446 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 1743172 | LBS launched in LEGACY mode
    07/01/14 08:15:48:524 | [INFO] |  | Download | LBS | SystemCheck |  |  | 1743182 | System OS Version - major = 10, minor = 8, bugFix = 5
    07/01/14 08:15:48:524 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 1743182 | ACCC System requirements check passed
    07/01/14 08:15:48:546 | [INFO] |  | Download | LBS | ProductInfo |  |  | 1743182 | Product Sap Code not specified in the product information file
    07/01/14 08:15:48:546 | [INFO] |  | Download | LBS | ProductInfo |  |  | 1743182 | Applet Version not specified in the product information file
    07/01/14 08:15:48:546 | [INFO] |  | Download | LBS | ProductInfo |  |  | 1743182 | Applet ID not specified in the product information file
    07/01/14 08:15:48:547 | [INFO] |  | Download | LBS | ProductInfo |  |  | 1743182 | Product locale not specified in the product information file
    07/01/14 08:15:48:547 | [INFO] |  | Download | LBS | ProductInfo |  |  | 1743182 | Product name not specified in the product information file
    07/01/14 08:15:48:547 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 1743182 | Bootstrap LBS is successful
    07/01/14 08:15:48:565 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 1743182 | Bootstrapper Lock acquired
    07/01/14 08:15:48:583 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 1743182 | LBS Lock acquired
    07/01/14 08:15:48:604 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 1743182 | Deployment lock check passed
    07/01/14 08:15:48:622 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 1743182 | The resolved URL for package service is https://prod-rel-ffc.oobesaas.adobe.com/adobe-ffc-external/core/v1/applications?name=Creat iveCloud&name=CCLBS&osVersion=10.8.5&platform=osx10
    07/01/14 08:15:50:538 | [INFO] |  | ACC | LBS | WorkflowManager |  |  | 1743182 | Successfully downloaded application xml at path /tmp/B58E0DB2-C6AD-4480-B614-874A46E27582/applications.xml
    07/01/14 08:15:50:588 | [ERROR] |  | ACC | LBS | WorkflowManager |  | FileUtils | 1743182 | Error Failed open the dylib /Applications/Utilities/Adobe Creative Cloud/utils/AdobePIM.dylib while getting its version
    07/01/14 08:15:50:588 | [ERROR] |  | ACC | LBS | WorkflowManager |  |  | 1743182 | Failed to get the PIM version from location: /Applications/Utilities/Adobe Creative Cloud/utils/AdobePIM.dylib
    07/01/14 08:15:50:588 | [ERROR] |  | ACC | LBS | PDM | PackageDownloadManager |  | 1743182 | Failed to create folder at temp location for download operations
    07/01/14 08:15:51:900 | [WARN] |  | ACC | LBS | PDM | PDMWorkflowManager |  | 1743206 | A user retryable error has occured while downloading the file. errotType = -100 extendedErrorCode = 0
    07/01/14 08:15:51:910 | [WARN] |  | ACC | LBS | PDM | PackageDownloadManager |  | 1743203 | Manifest file could not be downloaded
    07/01/14 08:15:51:910 | [INFO] |  | ACC | LBS | PDM |  |  | 1743203 | File already exist. This should not happen because packages is downloaded in new GUID folder and file is send by client so should not be there already.
    07/01/14 08:15:52:213 | [ERROR] |  | ACC | LBS | WorkflowManager |  |  | 1743182 | Failed in DOWNLOAD PIM
    07/01/14 08:15:57:938 | [INFO] |  | Download | LBS | ETS |  |  | 1743172 | Waiting for the async thread to get the task completed
    07/01/14 08:15:57:939 | [INFO] |  | Download | LBS | ETS |  |  | 1743185 | Async thread is completed. Now exiting from function.
    07/01/14 08:15:57:949 | [INFO] |  | ACC | LBS | ApplicationFacade |  |  | 1743172 | ACC installation end with exit code: 204
    07/01/14 08:15:57:949 | [INFO] |  | ACC | LBS | ApplicationFacade |  |  | 1743172 | ****************Closing LBS workflow*******************
    07/01/14 08:15:57:959 | [INFO] |  | ACC | LBS | ApplicationFacade |  |  | 1742865 | ****************Closing LBS workflow*******************

  • Mp3 support in Java

    I want to write a decent multi-media player in Java so I can run it on both Linux and Windows. As of yet however, I have not come across any support in Java for the mp3 format. It supports .au and .wav files, but I have yet to see mp3 support. Does anyone have any experience of working with mp3's in Java? I'd appreciate greatly any help.

    Hi,
    type "JMF" in the search field and search for it - its the Java Media Framework, a kind of add-on you can use for that.A Media player is provided too by JMF as example application. Have fun ...
    greetings Marsian

  • Queries on Mac OS X support for Java 1.3

    Hi All
    I am having some trouble figuring out how to make Swing based Applets
    work on Mac OS X. Can anybody help me ?
    Queries on Mac OS X support for Java 1.3
    1) Will a Java Applet compiled using Java 1.3 run on "Mac OS X" without the need for a Plugin.? This includes Applets using Swing since we compiled using 1.3.
    2) I tried to run some Java 1.3 applets compiled using 1.3.1-04.
    Unfortunately, the Applets wouldn't run.
    Is there some setting in Mac OS X that i need to change or modify for the Applet to work ?
    3) When i open a Terminal in Mac OS X and type Java -version, i get
    "------ Java 1.3---------".
    This implies that Mac OS X supports the Java 1.3 SDK. Does it imply that it supports the runtime as well since this is usually the case ?.
    If it supports the runtime, then does this inculde support for Swing.
    Finally, as i enquired in '(1)' does this mean that i do not need any plugin(MRJ) to make Swing based applets work.
    Thanks and regards
    Prashanth

    What I am seeing is that Java is throwing a security error when file io is initiated by an external call from Javascript to a file on the server that java should have access to. Here is the error.
    <<< ProxyClassLoader: defined LiveConnectProxy class. >>>
    <<< Here're the permissions you've got: >>>
    <<< java.security.Permissions@157402b (
    (java.net.SocketPermission www.dhba.com connect,accept,resolve)
    >>>
    VirtualLab.loadProblemSpecification: properties file=assignments/Walkthough.xml
    http://www.dhba.com/wested/applet/assignments/Walkthough.xml not retrieved
    java.security.AccessControlException: access denied (java.io.FilePermission assignments/Walkthough.xml read)
    My system:
    Mac OSX10.6.4 with Firefox3.6.12 (Java Plug-in 1.6.0_22 Using JRE version 1.6.0_22-b04-307-10M3261 Java HotSpot(TM) Client VM)

  • Support for 32" LED TV model no 32PS1V

    Where do I find support for Toshiba 32" LED TV model no 32PS1V. I am looking for firmware upgrades to allow for USB avi compatibility as this model currently only supports JPEG photos and NOT movies.

    Your 100% - I have a Toshiba 32C110U with the SAME? problem.
    I get ".MP3" ONLY from my USBs - No Picture (.jpg) or Video  ???  -
    WHERE is THE FIRMWARE we NEED Toshiba !!
    Maybe someone has a 'Hack' site with a FIX.
    Garry

  • Cannot edit mp3's for ringtones

    Hello All, new to the board. I have a 8320 (ATT) that will not let me edit mp3's for ringtones. I understand that Roxio for Blackberry has some features disabled, including the ability to edit. Oh, BTW I am using BDM 4.5. What is the workaround? Should I install full version of Roxio Muisc Creator? Which version has proven to work, 9 or 10?
    In reading postings on the net I am seeing that the Roxio software for Blackberry has issues. Any help for a newbie BB owner would be appreciated. Does BB tech support monitor these boards?
    Solved!
    Go to Solution.

    BB tech do not monitor these boards, it is written on top of the discussions list :
    "These forums are a peer-to-peer support channel in which users help other users. While Research In Motion Limited will participate from time to time, please visit the Support & Services tab to access direct support options that may be available to you."
    About your question, I don't use Roxio. I just take any mp3 tool to cut mp3 into a small file.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Support for bi-directional GIOP any time?

    One thing I was wondering about while preparing for a presentation was why bidirectional GIOP isn't supported in the 1.5 version of the ORB? The default uni-directional nature of IIOP is the achilles heel with CORBA in terms of the firewall penetration issue. (I think most agree now that making IIOP one-way was a fundamental design mistake. Bidirectional should probably be the default now.) I was just curious why Sun hasn't pursued a firewall friendly version of their version of CORBA. RMI has some support for firewall penetration, it'd be nice to see something similar for CORBA as well and further support in RMI such as full duplex communication. (If you're using Applets or trusted applications, I don't see any reason not to support multiplexed communication. ) It'd be nice to have alternative solutions in available in the JDK for the firewall penetration problem other than HTTP-based solutions. (I know that Jacorb and OpenOrb already support bi-directional GIOP, but it'd be great to have better support in the bundled version as well.)
    Thanks!
    Rob

    I had an exchange with Sun some time ago about this and IIRC they were not convinced of the viability of the specification, can't remember the details, sorry, it's a long time ago. Are there other implementations of bi-di IIOP?

  • JDBC 10g - Support for TNS name entries

    Hello,
    I found the following statement:
    JDBC-Thin support for TNSNAMES.ORA Lookup: similar to JDBC-OCI, both client-side and server-side JDBC-Thin can now read the local TNSNAMES.ORA file to resolve service name or TNS alias. Consequently Java in the database will also be in position to reference external Oracle database, using service name. See the JDBC documentation for more details.
    in the Oracle white paper "What’s New for Java DB, JDBC, and Database Web Services in Oracle Database 10g". However, I have found several statments/notes in the accompanying 10g JDBC documentation that appear to directly contradict the statement above. For example, the following note:
    Note:
    Because the JDBC Thin driver can be used in applets that do not depend on an Oracle client installation, you cannot use a TNSNAMES entry to set up a Thin driver connection.
    Does anybody know if the JDBC Thin driver supports connection via a TNSNAMES entry? If so, can you direct me to the documentation on how to use it.
    FYI, I have managed to establish a connection using a TNS alias and JDBC-OCI as follows:
    OracleDataSource ods = new OracleDataSource();
    ods.setTNSEntryName("MyTNSAlias");
    ods.setUser("scott");
    ods.setPassword("tiger");
    ods.setDriverType("oci8");
    Connection conn = ods.getConnection();
    However, if I set driver type to "thin" instead of "oci8", I get the following error:
    Exception in thread "main" java.sql.SQLException: Io exception: SO Exception was generated
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:404)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:140)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:169)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:108)
    at prototype.TNSTest.main(TNSTest.java:36)
    Thanks in advance.

    Hi,
    I wrote the white paper in question and am in position to confirm that in 10.2, JDBC-Thin does indeed support tnsnames.ora; you need to specify the location (i.e., directory) of the tnsnames.ora file in the oracle.net.tns.admin system property
    java -Doracle.net.tns_admin=$ORACLE_HOME/network/admini have working examples in my book.
    I'll have it fixed in the online doc, our printed doc is sometimes out of sync.
    Kuassi http://db360.blogspot.com

  • MP3 Support in Solaris

    Hi
    I'm starting a new project that requires MP3 support. What is the support of MP3 using JMX in Windows and Solaris with the Enhancement Pack. Can I decode it? Can I encode it?

    I'm starting a new project that requires MP3 support.
    What is the support of MP3 using JMX in Windows and
    Solaris with the Enhancement Pack. Can I decode it?
    Can I encode it?I am not entirely sure, but I have been working on some
    webstart examples of launching the Performance Pack
    versions of JM Studio(1) & JMF Registry(2).
    (1) http://www.javasaver.com/testjs/jmf/#test3
    (2) http://www.javasaver.com/testjs/jmf/#test4
    I expect (OK hope) the second can tell you what
    it supports for Solaris - particularly for the mime-types,
    e.g. for the Windows PP, it looks like this..
    http://www.javasaver.com/testjs/jmf/#mime

Maybe you are looking for

  • Questions on a newly purchased K8T Master2 Far m/b

    Hi, I just purchased a K8T Master2 Far m/b at a local computer store for $89.99. They had two of them sitting on their markdown table. They where in turned inside out Asus K8N-DL m/b boxes. In other words, the box labels where on the inside. They cou

  • Error in validating XML against schema

    Hi am getting some critical errors while Validating XML against schema error is: cvc-elt.1: Cannot find the declaration of element 'position' , here <position> is my root element. my code is as follows: package com.glemser.xmLabeling.library.componen

  • Reloading the same image into a JPanel

    I have a multi user app.. one user can edit an image in one GUI and i want the other user to be able to refresh somehow a JPanel that they have in their GUI to reload the image file. any help, would be appreciated. thanks

  • Pacman says my system is up to date - but it's not

    Well that's the whole story - when i try to: sudo pacman -Syu i get: :: Synchronizing package databases... core is up to date extra is up to date community is up to date :: Starting full system upgrade... local database is up to date but i haven't be

  • In Trying to convert my flash movie to the latest Flash format and from action script 2 to 3

    In Trying to convert my flash movie to the latest Flash format and from action script 2 to 3 I get this error message Scene 1, Layer 'Layer 3', Frame 1, Line 2, Column 7 1119: Access of possibly undefined property showMenu through a reference with st