Quick Survey: JDeveloper and Notepad

Just for interest - a quick survey:
I've made the experience that it is impossible to seriously work with BC4J and JDeveloper without extensively using a Texteditor.
Topics like
- renaming BC4J Components
- moving packages
- bugs in the wizards
- working with more than one (dependent) projects
forces me regularily to use a texteditor to fix the XML-files by hand.
Just to know, if I'm the only one who made this experience, I'd like to know I you have made the same experience...

Well, I never used notepad, but that's because I use SciTE (another text editor, http://www.scintilla.org/) for it. But you are right that all the stuff you mentioned often requires manually editing of the BC4J XML files. Renaming / moving BC4J entities, views, packages is a real pain. On a related subject, why are the XML files not more human readable / maintainable? JDeveloper / BC4J often forces us to manually edit the XML files. Unfortunately a lot of information is spread over multiple files. If you need to rename a component or something similar you often need to edit several files (and don't get me started on the problems that arrise if you forget to edit a certain file...). But the contens of the XML files aren't always clear to me, for example:
<Item>
  <Key class="java.net.URL" path="src/package/Dept.xml"/>
  <Value idref="17"/>
</Item>The value of this item (that can be found in a project file) is referenced. I understand this is an optimization to keep the XML files "small", but if you need to manually edit the file it's getting you headaches...
Another example:
<Data>
  <Property Name ="NAMESPACE_REFERENCE" Value="3b23c9bc-00f1-1000-807c-0a000a06524b::::BC4JPackage"/>
  <Property Name ="ID" Va[i][pre]Long postings are being truncated to ~1 kB at this time.

Similar Messages

  • I create simple session bean in jdeveloper and it has a problem in lookup

    the code of bean
    import java.util.*;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    import javax.naming.*;
    public class CartClient {
    public static void main(String[] args) {
    try {
    Context initial = getInitialContext() ;
    // Object objref = initial.lookup("java:comp/env/ejb/SimpleCart");
    Object objref = initial.lookup("Cart");
    CartHome home =
    (CartHome)PortableRemoteObject.narrow(objref,
    CartHome.class);
    Cart shoppingCart = home.create("Duke DeEarl","123");
    shoppingCart.addBook("The Martian Chronicles");
    shoppingCart.addBook("2001 A Space Odyssey");
    shoppingCart.addBook("The Left Hand of Darkness");
    Vector bookList = new Vector();
    bookList = shoppingCart.getContents();
    Enumeration enumer = bookList.elements();
    while (enumer.hasMoreElements()) {
    String title = (String) enumer.nextElement();
    System.out.println(title);
    shoppingCart.removeBook("Alice in Wonderland");
    shoppingCart.remove();
    System.exit(0);
    } catch (BookException ex) {
    System.err.println("Caught a BookException: " + ex.getMessage());
    System.exit(0);
    } catch (Exception ex) {
    System.err.println("Caught an unexpected exception!");
    ex.printStackTrace();
    System.exit(1);
    private static Context getInitialContext() throws NamingException {
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "admin");
    env.put(Context.PROVIDER_URL, "ormi://localhost:23791CartApp");
    return new InitialContext(env);
    } javax.naming.NameNotFoundException: Cart not found
         java.lang.Object com.evermind.server.rmi.RMIContext.lookup(java.lang.String)
              RMIContext.java:130
         java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
              InitialContext.java:350
         void CartClient.main(java.lang.String[])
              CartClient.ja
    exception

    Please post your question in jdeveloper forum at
    JDeveloper and ADF
    for quick response.
    Regards,
    Anupama
    http://otn.oracle.com/sample_code/content.html

  • JDeveloper and CVS

    Hi All,
    Just for anybody getting started with JDeveloper and CVS. I've been using both during a while and my comments are:
    -- If you are thinking to replace your old CVS System, you really must think about it, JDeveloper just incorporates a little subset of features any CVS System actually has (like eclipse).
    -- If somebody have been working with the same code your are using, to know if the code have changed isn't as simple like to make a "check for changes or compare with". Because if you use "JDeveloper Compare With option", JDeveloper check correctly for changes, but for changes over your own last revision, so if somebody create a new revision, you will loose your changes.
    well I think JDeveloper creators must make a lot of effort to incorporate CVS functionality, if not, better remove this option from it.
    anybody has any comments???

    I need to try to understand why you would want to erase a version controlled file in your sandbox from disk but not remove it from version control. I guess we do this automatically because it seems like the right thing to do... it should be noted that this is also the default behavior in Eclipse.
    If you remove a file from your sandbox but do not schedule it for removal from CVS, you could basically make changes in your sandbox that will cause other developers to run into compilation errors after you commit and they update.
    E.g. SomeClass.java depends on a class defined in AnotherClass.java. You remove SomeClass.java from disk but not from the sandbox. You then rename a method in AnotherClass.java that SomeClass.java had been using. You compile your project, it all seems fine. You commit your changes to the cvs repository. Then your collegue updates and the world is broken.
    It seems like a bad way to work. I'd be interested to know what the usecase is for doing this and whether there is perhaps a better way of achieving it (e.g. using working sets or the project content filters).
    I'm aware of the issues with the files you mention. They're not really issues with the CVS support as such, they're issues with the parts of the product which generate those files. I know that probably doesn't make much difference to you, but it is relevant in terms of how (quickly) things get fixed.
    The xml mergeability of several IDE files (in particular projects) improved greatly in JDeveloper 10.1.3 preview. I've tried very hard to raise awareness in the teams that develop those other features (ADF and Struts) about issues they have with version control. It's sometimes hard to convince people that there's really a problem for some reason. I'm hoping things will eventually improve. You can help that a lot by reporting such issues to your Oracle Support representative so that your specific problems are being tracked as TARs.
    Thanks,
    Brian

  • Develope complex WebService with JDeveloper and deploy to tomcat

    Hello,
    I am thinking of developing a complex WebService with JDeveloper and deploy it to tomcat.
    The WebService should retrieve a few "normal" datatypes and a pdf and a few images. I try to store the pdf and the image in an Oracle DB as BLOB.
    My idea ist to create a Package which selects the values, pdf and the image and retrieve them as the output paramter.
    Then I want to create a WebService with the JDeveloper which calls this Package. This WebService should be published on a Tomcat.
    My first question is if that is possible?
    I think there are few problems.
    I searched the forum about deploying a JDeveloper WebService to Tomcat, but I can not find a whole solution which is going to work. I read something about JAX-RPC, but I am new to this topic. So it would be very nice, if anyone could tell me where I can find the solution or post a quick guide to solve that.
    Another question is how I have to decode the images and the pdf to provide those files in a WebService?
    I would be very glad if anyone can help me or tell me where I can find information about that, becaus I am new to this topic!
    Thank you,
    Tim

    Hi,
    does anybody have an idea about that?
    Thanks,
    Tim

  • Quick Survey on ColdFusion 10 usage

    G'day
    Hey, this is not a question and I hope it's OK to post here soliciting traffic to somewhere else.  It is not spam though!
    I'm just running a quick survey on people's ColdFusion10 usage.  It'd be helpful to me if you could read this blog article, and then fill in the survey linked to at the bottom.
    Cheers.
    Adam

    Per the ColdFusion Blog entry regarding the EULA, Adobe considers four cores to be a CPU - so a quad-core processor is one CPU.  You can run ColdFusion 10 Standard on up to a dual quad-core server under the terms of the license.  Here is an excerpt:
    The power of a CPU has grown enormously over the last few years and we now see individual core in a CPU itself being as powerful as a CPU. Few companies treat every group of two cores as a CPU and also change their licensing based on the power of processing core involved. We decided to take a lighter stand on this. Our idea was not to penalize our customers just because we now have cores in the CPU definition. Four cores in a CPU is the norm these days. So we decided to chose four cores to be deemed as a CPU.
    What this would mean is, if you are running ColdFusion on a 2 quad core CPU (8 cores in total, which would be deemed as 2 CPUs), you can still continue to run ColdFusion 10 on it.
    HTH,
    -Carl V.

  • "Quick survey" doesn't accept answer

    On Apple Support Communities (ipad) today I got message inviting me to take a quick survey. I agreed. It had 3 questions, I answered them and hit Submit, but nothing happened - it didn't accept the answers!

    I bought down Quit Time 7 Pro for OSX Tiger years ago, but recently I upgrade to Lion and QT7-Pro doesn't acept my Keys anymore.
    Do you have QT 7 v7.6.6 installed on your Lion system? Are you trying to key QT X.1 or QT 7 for "Pro" use? Are you entering both the Registration Name under which you purchased the key (to include any salutation used like Mr. or Dr.) along with the key? Is the key for QT 6, QT 7, for a Windows or Mac platform?
    What should I do?, pay the full price again?
    Not if the original key was for a Mac platform version of QT 7 and you are correctly entering both the Registration Key and purchaser Registration Name in the "Registration..." window under the "QuickTime 7" menu as described HERE. If you are unsure about either the key or the name used for your purchase, don't have your purchase confirmation email, and the key was purchased at the US Apple Store, then you can review the purchae information by signing in HERE.

  • Quick survey on coding techniques

    G'day:
    I'm just running a quick survey on my blog, and if you had a coupla min to write some code and post it for me, that'd be a big help.
    This is the blog article, and this is a summary of the question:
    Consider this string:
    nz = "Aotearoa";
    What I want is to see how you'd approach turning that into an array of characters, ie: so if you dumped it you'd get this:
    array
    1
    A
    2
    o
    3
    t
    4
    e
    5
    a
    6
    r
    7
    o
    8
    a
    That's it.
    Thanks for helping (if you do, that is ;-)
    Adam

    Yup, once I get enough results. It'll go on my blog though, rather than here, but I'll post the URL when it's done. Probably won't be until next week though.
    Adam

  • I just bought Quick time Pro and I can't get it to install. It shows a yellow box in my application folder, but I can't get it to work. Help!

    I just bought Quick time Pro and I can't get it to install. It shows a yellow box in my application folder, but I can't get it to work. Help!

    you launch QT then go to its REGISTRATION

  • Why do I need Quick time 7 and Quicktime 10 ?

    I have just migrated from iMac5 (2.16 GHz) Mac OS 10.4.11 Quicktime 7.6.4 to a new imac 3.06 Mac OS 10.6.2 Quicktime 10.0.
    Some of my quicktime files play ok but others prompt me to download quicktime version 7. Why do I need to do this ? (There seem to be a lot of problems with this looking at the forums). All the files play on the old mac. Why isn't Quicktime forward compatible or why is there no import facility so that you can make your old files compatible ?
    Or am I missing something ?

    Some of my quicktime files play ok but others prompt me to download quicktime version 7. Why do I need to do this ?
    Because your system thinks you are missing specific codecs required for the playback of certain compression formats. In some cases this may be an installation problem in which the codec was "lost" or "orphaned" during the update process. In others it may be a need to update the component to work properly under the dual QT X/7 framework installed under the Snow Leopard OS. You need to check the Inspector/Finder Info or similar window to determine what specific codec is causing the problem and then re-install or update that specific codec/component/package.
    (There seem to be a lot of problems with this looking at the forums).
    Most of the problems are "self-inflicted" by individuals who, rather than studying the problem symptoms, analyzing them to determine their cause, and then fixing the problems, elect to immediately delete and re-install software -- often attempting to mix components from different operating systems and/or update versions of the software in their haste.
    All the files play on the old mac. Why isn't Quicktime forward compatible or why is there no import facility so that you can make your old files compatible?
    I am running both Leopard and Snow Leopard variations of QT v7.6.6 and all of my "old" files have remained compatible -- to include MPEG-2 video and a limited number of third-party supported compression formats. Since my configurations continue to work properly, my first guess is that you have an unresolved configuration problem or inability for your QT X 64-bit routines to communicate/switch properly with the 32-bit routines as required for your content.
    Why do I need Quick time 7 and Quicktime 10?
    Technically, you probably don't. However, as an old QT 7 Pro user who likes many of the QT 7 Player controls/options/features better than QT X's new but more basic features, I maintain both in active service and tend to use QT 7 as the default player of most of my work flows. Still, this is up to the individual. I am in no hurry to rush the changeover from an older but still more reliable QT technology to a more modern, but as yet, less mature and well tested "new" QT technology. In short, I feel it best to make the most of both dispensations during the development of this "new" version of QT.

  • My iPad 2 is only 7 months old and is draining battery life quickly some days and others shutting off at 40% - 50% and when I turn the iPad back on it keeps turning it self off continuously. I have a feeling the battery could be faulty, what do I do?

    My iPad 2 is only 7 months old and is draining battery life quickly some days and others shutting off at 40% - 50% and when I turn the iPad back on it keeps turning it self off continuously. I have a feeling the battery could be faulty, what do I do?

    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414
    If you try all these Steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • Facetime says connecting after you answer the call but doesn't actually connect and both iphone 5s were quick reset-ted and facetime was turnt on and off, any reasons like why or how and how to fix this concerning issue

    facetime says connecting after you answer the call but doesn't actually connect and both iphone 5s were quick reset-ted and facetime was turnt on and off, any reasons like why or how and how to fix this concerning issue

    Apple has released a document which is reported to address the recent FaceTime issue.
    http://support.apple.com/kb/TS5419

  • I purchased quick time pro, and attempted to download quick time 7, but it says I have quick time x installed.  I deleted quick time x but it still says it is there and will not let me install.

    I purchased quick time pro, and attempted to download quick time 7, but it says I have quick time x installed.  I deleted quick time x but it still says it is there and will not let me install.

    In the optional install items-Quick Time is not an option. I am on Leopard.
    Then you either:
    1) never had QT X installed and could not have deleted it since QT X is only installed on Snow Leopard (OS X v10.6), Lion (OS X v10.7), and Mountain Lion (OS X v10.8) systems or...
    2) you are actually running Snow Leopard (OS X v10.6) and not Leopard (OS X v10.5) as you just stated.
    Please confirm which statment is actually correct.

  • Cannot test portlet using JDeveloper and built-in OC4J

    Hi everybody,
    I'm not trying to sound stupid but my problem seems to be very basic but i cannot solve it. I'm new to Jdeveloper. Here's my problem.
    I'm using Jdeveloper 10.1.2.1.0 (build 1913) to develope a portlet. I deployed it to the built-in Standalone OC4J of Jdeveloper and got the following messages:
    ---- Deployment started. ---- Sep 6, 2006 7:46:11 PM
    Target platform is Standalone OC4J (AppServerConnection2).
    Wrote WAR file to D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.war
    Wrote EAR file to D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.ear
    Invoking OC4J admin tool...
    D:\jdev1012\jdk\jre\bin\javaw.exe -jar D:\jdev1012\j2ee\home\admin.jar ormi://cuongttlabtop/ admin **** -deploy -file D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.ear -deploymentName UmaPortlets
    checkIsLocalHost() error: cuongttlabtop/: cuongttlabtop/
    Uploading file D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.ear to oc4j server side
    Notification ==> Application Deployer for UmaPortlets STARTS [ 2006-09-06T19:46:17.406ICT ]
    Notification ==> Undeploy previous deployment
    Notification ==> Copy the archive to D:\jdev1012\j2ee\home\applications\UmaPortlets.ear
    Notification ==> Unpack UmaPortlets.ear begins...
    Notification ==> Unpack UmaPortlets.ear ends...
    Notification ==> Initialize UmaPortlets.ear begins...
    Notification ==> Initialize UmaPortlets.ear ends...
    Notification ==> Initialize UmaPortlets begins...
    Notification ==> Initialize UmaPortlets ends...
    Notification ==> Application Deployer for UmaPortlets COMPLETES [ 2006-09-06T19:46:19.000ICT ]
    Exit status of OC4J admin tool (-deploy): 0
    D:\jdev1012\jdk\jre\bin\javaw.exe -jar D:\jdev1012\j2ee\home\admin.jar ormi://cuongttlabtop/ admin **** -bindWebApp UmaPortlets UmaPortlets http-web-site /UmaPortlets
    checkIsLocalHost() error: cuongttlabtop/: cuongttlabtop/
    Exit status of OC4J admin tool (-bindWebApp): 0
    Use the following context root(s) to test your web application(s):
    http://cuongttlabtop:8888/UmaPortlets
    Elapsed time for deployment: 12 seconds
    ---- Deployment finished. ---- Sep 6, 2006 7:46:23 PM
    When i tried to access the URL: http://cuongttlabtop:8888/UmaPortlets by Mozilla Firefox nothing came up instead : 403 Forbidden Directory browsing not allowed
    Please help me everybody!!!!! It's urgent. My boss will check my work on this Friday :((.

    I tried to access both URL you gave me and got the error:
    404 Not Found
    Resource /UmaPortlets/providers not found on this server
    I really dont understand what's going wrong here?? I followed exactly what Oracle tutorials tell me :(

  • After logging on you yahoo this am, my calendar and notepad are gone. When I click on them I just get a blank screen. I am not very computer literate and need help getting them back.

    When I usually go into yahoo mail, there is an icon at the top left hand side to access my calendar and notepad. They are both gone, but there is a field in the bottom left corner that has the buttons. When I click on either one, I just get a blank screen. I've not updated by Firefox to a new version and can't imagine what happened overnight.

    This sounds more like it's a temporary problem with Yahoo's mail website. My advice at this point is to see if this fixes itself within a few hours. If not, please come back (actually, do come back regardless and let us know if your problem is solved).

  • HELP: include another page in with JDeveloper and ADF

    Hi all,
    I am trying to make a layout page with JDeveloper and ADF. But I just can't make things work. I have the pre-coded header and footer html pages and want to include them in a jspx somehow. I tried panelPage too, but the rendering style is away from our pre-coded header and footer.
    1. Use jsp:include.
    header works fine but footer is rendered before the page content, even if the footer is placed after the page content. Is there a way to customize the position?
    <f:facet name="footerFacet">
    <f:subview id="footerView"
    binding="#{backing_welcomePage.footerView}">
    <jsp:include page="/footer.jspf"/>
    </f:subview>
    </f:facet>
    2. Use frameBorderLayout.
    I followed the doc and use the document tag. But the frame page is rendered but none of included pages are rendered. So I got a blank page.
    <!-- frame page -->
    <f:view>
    <afh:html>
    <afh:head title="my frame page">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body>
    <afh:frameBorderLayout height="100%" width="100%">
    <f:facet name="center">
    <afh:frame source="topPage.jspx" name="topPage3"/>
    </f:facet>
    <f:facet name="top">
    <afh:frame source="topPage.jspx" height="200" name="topPage2"/>
    </f:facet>
    <f:facet name="bottom">
    <afh:frame source="topPage.jspx" height="200" name="topPage1"/>
    </f:facet>
    </afh:frameBorderLayout>
    </afh:body>
    </afh:html>
    </f:view>
    <!-- top page -->
    <f:view>
    <af:document title="FrameBorderLayout Demo">
    <af:form>
    <af:panelGroup layout="vertical">
    <f:facet name="separator">
    <af:objectSeparator />
    </f:facet>
    <af:outputFormatted styleUsage="instruction" value="&lt;b>A frameBorderLayout&lt;/b>"/>
    </af:panelGroup>
    </af:form>
    </af:document>
    </f:view>

    for #1 have you tried throwing a verbatim tag around your includes like:
    <f:verbatim>
    <jsp:directive.include file="/includes/footer.jsp"/>
    </f:verbatim>
    it's how we got around intermixing html and jsf

Maybe you are looking for