Feel interested in bc4j

hello
i am now studying the bc4j following jdeveloper tutorial,i find the operation procedure is similar to the o-r mapping,because i have used several o-r mapping tools,such as hibernate and toplink.
i wonder if the bc4j is also a o-r mapping api?if no,what's difference between them?and how can i make the decision when i choice which animal?
thank you!

hi ,
OR-mapping tools provide the persistent mechanism to store the java objects in a relational database. In addition, BC4J as the name says, lets you to implement encapsulated business rules in your application.
You may use OR mapping tools like Toplink, when you wish to provide your own infrastructure to implement the application logic and letting the persistence mechanism to the Toplink architecture.
Where as if your focus is to use a framework to design,implement and deploy a datacentric application then you may use BC4J.
Hope this helps
Shrinivas

Similar Messages

  • Scheduling one background after first finishes

    Hi,
    I have to run a second BGD job after the completion fo first job periodic BGD job. I scheduled them using SM36 and set the  execution condition in the second job as after JOB completion and gave the name of the first job there. But second job was executed only once whereas the the first job was executed periodically. I have tried to search releated threads on this forum also but could not find anything positive. Please help me in this.

    As a step of your Job you can include 1) ABAP Programs 2)External Commad 3) External Program.
    HOw did you add one job as a part of another job?
    What you are doing from the second job , put that in the first job only. You can put some condition like IF <sy-subrc> =0 or any other logical condition available in ABAP.
    Take help from some ABAPer.
    But I feel interested to know what exactly you are trying to do with two job.

  • Dynamically Generated HTML/PDF/RTF?

    Hi guys,
    This is similar to something I asked recently, but I've got a better idea of what I need and how to ask. I'm still fairly novice at programming, espeically applets.
    I'm working on an applet for an educational purpose that will generate an array of study items...probably 30-50, I haven't decided on the size yet. It's for foreign language study, and the items are foreign phonetic characters, no more than 3 per item. I'd like to output them in a print-ready format, probably essentially a grid, with some space for the student to write their answer next to or under it. I've seen some free libraries out there that can generate pdf, rtf, and HTML, most notably the iText libraries.
    I really want to do this as an applet. So my question is, how would this, or another library that one of you knows that would be better, be implemented? Would the output be a file on the server? Is there a way to make it generate the file to the users local cache or something, or give them an option to download it without it going on a server, since it is randomly generated and not uniform for other users? (I assume that would require making it a signed applet?)
    Any help you can give would be really appreciated.
    Colin

    cosmic_cow wrote:
    Okay, but this would work very well as a web application.What's a good resource for learning to work with them as opposed to applets? (Told you I'm a novice! ) Well, if you're a novice it might be better to concentrate on the regular Java stuff and sure, applets too.
    Then if you feel interested in Java EE and Web Applications and Databases and what not, you can check out this to see what Enterprise Java consists of.

  • Portg Z930 - black dots on the case

    Hi, I've got a Z930-108 and since I bought it some kind of black dots have been appearing and growing on the case randomly, and for no reason for me. If anyone has any idea of what this is or why does it happen please comment or ask for more info if you feel interested. There's a link to Google Drive where you can download the images. Thanks.
    [Z930.rar|https://docs.google.com/file/d/0B36GexyQCeq8a25McmR6Z3dXaGc/edit?usp=sharing]

    I added a link to the photos, they are much more detailed than with human eye, did you see them?
    I already contacted Toshiba and send them the photos, they said warranty doesn't cover it because it's a physical damage. And I don't want to pay 100-200 for replacing the case.
    Do you think they'll charge me for checking it?
    Thanks.
    Message was edited by: Cessni172

  • ERP-SD CAREER PROSPECTUS

    Hi,
    I need information on the furure prospectus of ERP-SD and its present
      trend in the market.

    Hi vijaya,
                   as per your update about seeking a master s degree, Better thing would be to complete it so that you have a good combination of Bachelors and masters degree. Then if you still feel interested in ERP, then you need to see into which domain you want to work to gain the required functional exp.
    Once you have the required functional exp then you can suitably select the correct SAP Module to go ahead with. But at the moment since you do not have any functional exp better would be to gain it as its very much essential to work on any ERP.
                   Hope my feedback only helps you take a better decision and in no way do i want to discourage your interest in ERP. Its only to make it better.
                   All the best.
    Thanks & Regards
    Sadhu Kishore

  • JDev9i: BC4J JSP or UIX JSP?

    Hi,
    To develop a large JSP application, I read the document to
    decide which one to use BC4J JSP or UIX JSP? but still not sure
    which one to start. Any command from experienced JSP developer
    would be a great help for me. Thanks.

    Hello,
    Did you look at the section titled "Which Technology Should I
    Use?" in the JDeveloper online documentation? It gives a fairly
    decent idea on what you can do with the various pieces if
    technology that form a part of the UIX framework. Given that you
    are planning on building a huge application I am assuming that
    you would be interested in a consistent look and feel across the
    different pages of your application. UIX lends itself very well
    to build such applications very easily. On the other hand if you
    wanted to use JSPs, you could still use the UIX JSP tags which
    provide JSP tags which are wrappers for the underlying UIX
    elements. However, the UIX elements are much richer in terms of
    functionality (attributes, etc.)
    Hope this helps,
    -Kishore
    JDev Team

  • BC4J, Auditing, Partner Application and SSO

    I am trying to figure out how to set up a BC4J-JSP app to use "database audit trail in entity objects" within a Portal/SSO environment.
    Here is the situation;
    Part 1:
    I am able to partially get the auditing to work on a BC4J App Module in the tester by setting the appropriate history columns in the Entity Object and then setting the jbo.security.enforce property to "Test". Upon entering the tester I am challenged for a "username/password". At this point I can enter any credentials, I can then enter some data. Visually checking the database I find that the history "date" columns (date_created) are ok but the "user" columns (created_by) are not filled in.
    Part 2:
    Now if I set jbo.security.enforce property to "Test". I am not sure what user credential to enter here. I have looked at OID Manager for some clues for what username/password but I'm not sure if this is even in the ballpark.
    Part 3:
    At some point I will deploy this app as an SSO/Partner Application which will be accessed from a Portal page. Since authentication is handled by the SSO login page, I am confused about setting up the "database audit trail in entity objects" (from Part 1) as it talks about creating * another * login page. This seems contradictory so Long postings are being truncated to ~1 kB at this time.

    Part 1:
    When setting jbo.security.enforce property to "Test", BC4J does not throw exception if credential is invalid. You should set it to "Must" if you really want to validate the credential. The "Test" setting does perform the authentication, a warning stating authentication fail is in the diagnostic output if the username/password is invalid. The "Test" setting is just to exercise the authentication but if it fail it does not stop the rest of the application. The "user" column (created_by) does not get fill could be cause by failed authentication or if the column is marked as Refresh on Update or Refresh on Insert, or if the client app insert null or zero length string into it.
    Part 2:
    BC4J default authentication uses the LoginModule from Oracle9iAS JAAS (in j2ee\home\jazn.jar). This LoginModule by default configure to use the lightweight jazn-xml. You can check this by looking "<jazn provider=..." in the j2ee\home\config\jazn.xml. If you are interested in using OID, you need to change it to <jazn provider="LDAP" location="ldap://myoid.us.oracle.com:389" />, "myoid.us.oracle.com:389" should be host address and port of your OID. There are a few predefined users in the lightweight jazn-xml if you wish to test it, there are admin/Long postings are being truncated to ~1 kB at this time.

  • Interest computation on Special GL Transactions

    Dear Gurus,
    We are on SAP 4.7 system and our requirement is to compute Interest to be paid to our Customers who have paid us Deposits.  That is, the Deposits paid by Customers to us and booked using Special GL Transactions that lead to customer credit balances.
    We have completed the configuration of Interest and the same is working fine for Debit balances.  The computation is fine for all debit transactions.
    However, the system is not computing Interest on Credit Balances lying in Customers Account thru Special GL Transactions.  We have configured Item Interest calculation. The expectation is to compute interest on multiple Sp GL Line items of a Customer.
    This is what we have done in configuration / spro:
    Interest Calculation Global Settings:
    1. Item Interest Calculation P for our Interest Indicators L1 and L2.  (L1 assigned to Customer Master).
    2. Number ranges
    3. Prepare Interest on Arrears Calculation - L1 - configured to accept Open and all Cleared Items
    4. Prepare Special G/L Transaction Interest Calculation - L1 Int Indicator mapped with L1
    Interest Calculation
    1.  Define Reference Interest Rates
    2. Define Time-Based Terms - L1 mapped with
    Debit interest: arrears interest calc.
    Credit interest: arrears interest calc.
    3. Enter Interest Values
    Now ideally speaking, maintaining these values, must lead to correct calculation of 'Computation of Interest on Special GL transactions'
    The subsequent configurations are also completed, although, our understanding is that these are only for carrying out Financial Posting.
    Interest Posting
    1. Maintain Acct Determn - OBV1 - L1 is set up with Sp GL Indicator (somehow I feel this is not a required configuration for interest computation on Sp GL transaction but still tried with this one as well)
    Please help.
    Regards

    Hi Venu,
    Special g/l trans is not allowed in cash journal, but there is a workaround provided in OSS Notes: 532888
    it states" Special G/L indicator (for example, for down payments)
               The consideration of a special G/L indicator, in particular for down payments, has also not been provided for reasons of the simple useablity.
    However, if you want to enter down payments in the cash journal, you should write a corresponding note as a workaround in the text field (for example, "Down payment"), post this amount to a clearing account that is intended for that in the cash journal and afterwards make a transfer posting of this clearing account with the corresponding special G/L indicator in the accounts receivable accounting."
    hope this helps.
    Please assign points as way to say thanks.

  • How Java Sould be Marketed(interesting)

    I thought this may be relevent here, it gets into some interesting ideas about distribution. enjoy.
    Sun needs a new JAVA marketing strategy.
    Opinions expressed here are of my own, Matt Prokes, remember these are only opinions about what should or could be.
    If you have ?'s contact me at [email protected]
    What Java's Problem Is:
    As far as I can see the only problem that java has these days is the client inconsistency s, this is due to Microsoft and there attempted destruction of the HUGE java language, and Microsoft has succeeded wonderfully thus far, which is sad. I feel it is only due to the way Sun markets Java, not that they have not tried but they are going about it the wrong way.
    Sun Feels They Are Being Oppressed:
    It seems to me that Sun has a feeling of being oppressed by Microsoft, they see the company inflicting standards on the computing world that are self centered and platform specific, this is why java was created, to break that mold and it does it wonderfully but java has not gained popularity because of marketing technique, no, it has gained popularity because it REALLY is what it is cracked up to be....A better way of doing things....
    That is why sun landed the title of being one the the most innovative company s today by the magazine �PC World� ranking 13th place while Microsoft landed 137th (i think).
    Yet with all this technology sun does not try to inflict it's standards on the PC world, well you might think what about all those court cases, for instance the most recent that suggests that Sun wants to FORCE Microsoft to install their JVM. I think stuff like this just slows Sun down, as we learned with previous cases Microsoft is just to big to fight and if you do manage to win it will be 3-4 years later. If you think about it time is money, why waste time? Trying to leach off of Microsoft is NOT the way to inflict standards, in fact it is one of the worst ways because by the time you would have won Microsoft would have bullied the java environment to it's grave (umm .net). So you may ask how do we enforce standards without the help of Microsoft, the answer is more simple than you may think yet for some reason it has not been thought of by Sun. So far this is what has brought Microsoft to the top.
    1.Great Software
    2.Enforced Standards, and Implementation
    3.Excellent Marketing
    4.Protected Software (Ideas)
    5.Industry Wide Support
    Innovation is not on this list, Microsoft does not have a innovative bone in it's body at the moment, it just buys technology that it needs, and has flashy GUI's, and a huge amount of support in the software industry. This is why according to the magazine �PC World� Microsoft ranks #137 in innovation while Sun sits at a satisfying ranking of #13.
    What this means is that Sun just is more innovative, it has technology out there that could be used but it can't because we have clients with Version 1.3 Java software on their PC's, Either that or Proprietary and NOT PLATFORM INDEPENDENT Microsoft JVM's which Microsoft will again start to distribute in 2004 on XP, this brings me to my first point, if we are going to have a platform independent language it needs to come from ONE POINT that will be implemented by all Manufactures (the W3C for instance). You may be thinking well how do you enforce the SUN JVM if Microsoft does not pack it with windows? The answer is you do what most new company s do and that is goto the PC Vendors. I would like to point out that Microsoft is for the most part ONLY a software company (aside from some of there PC products), but they do not build and distribute PC systems, thus Microsoft does not control what can go on a PC, I would like to point out the growing Linux threat to windows, more particularly the Linux based operating system (Lindows) recently lindows has acquired a deal with walmart to sell there operating system as a substitute to windows, this worked out phenominaly and right now walmart cannot seem to keep enough of the pc's on the shelves (since they cost only about 199$). Case point Linux has also grown enormously due to �Home Editions� of Linux (Red Hat). The first point I would like to make is that Sun should be PAYING vendors to install the SUN JVM over the Microsoft one, this takes care of a few of Sun's problems (Not as much industry support as Microsoft, and upgrading the JVM) all this can be done for a measly 5-6 million a year and will reach about 70% of the PC sector, in fact I am almost certain this is how Microsoft started out.
    One Of Java's Big Problems JVM Inconsistency s
    Now if Sun locks 70% of the PC market that will already be a large boost for java, but the question is how to make the percentage grow to 100%... I would now like to point out the company Macromedia, macromedia products are phenominal, and have changed the way media is seen on the web, particularly the Flash product that macromedia sells, now at this moment macromedia has stated that >90% flash support exists on the web today and >70% is with the most current version of flash, as I see it in fact flash is one of the most universally supported pieces of software even more so than Microsoft, this is why you see flash movies on yahoo, cnet, amazon, and even MSN! So you may ask what made flash what it is today? Well as described before flash is supported and installed by PC vendors, and even if it is not you can barely go any place on the web with out getting a message stating that you should upgrade to the most current version of flash, this is due to the wide support on the web..... Now on the other hand if I run a java applet and the applet was compiled with some new features that were not supported in version 1.3 (Swing for example) we will get an error message stating that the package cannot be found and the applet will not run...You do not get any messages to upgrade, no window prompts, nothing..which brings me to my next point the java compiler should include the code (a pre JVM 1.3 version & Microsoft JVM compatible) that will prompt you to install the most current version of Java you already see default loaders for swing, a plug in check should also be included in all programs to ensure that you have to most recent version, and if you do not then it will send you to the Sun Website, or display a update manager or something. Getting an error saying that the applet packages are not found does not help the user any it only frustrates them, you have to physically provide a remedy to the problem at hand. This should also check to see if the Microsoft JVM is installed and if it is prompt to upgrade to the Sun JVM, this will pretty much destroy the use of the Microsoft JVM.
    This takes care of the enforcing standards part, braudens the Industry Wide Support, and protects the java environment, last but not least you need to promote the software, Java already does this excellently with web services, and other things but there are more consumers than businesses and Java should also be concentrating more on the excellent 3d support that they have, the networking features of java, ect. Take OpenOffice.org for instance the product has grown emmensly since it has started and much uses Java API's, you would see much growth in Java if you provided other products like Open Office for free, for instance a Quake Like Multi player game in Java 3D distributed on an open source environment, in applet form (since applets are exclusively a invention of Java), and then have a couple of servers set up that people can play for free on Sun's site, more networking app's for free, ect. You have to promote some of the more flashy features of Sun this way in order to see more growth and support and for free (learn from Linux which is quickly becoming a HUGE threat for Microsoft) if sun is making 13 billion a year I see no problem to them sporting a couple of servers with some USEFUL online apps/games/ect that sport how innovative java really is, and if they really need to they can have all the banners on stuff like the online games, take Http://www.runescape.com that sports an average of 10,000 users at any moment using the cross platform Java 3d API and they do it for free! All open source free products should be on Suns website, it shows how strong of a community Sun really is, instead of having it on some other website like www.openoffice.org that only sports Sun's name maybe a few times you might occasionally see a logo.. it would be better to maybe get open office from an address like www.openoffice.sun.com, maybe try a www.games.sun.com address or a www.apps.sun.com and then advertise the stuff that can be found at the Sun website. You see Microsoft doing it with the .net platform and other utility s all the time on places like MSN I don't see why Sun does not make the same initcative and better yet have it open source. Open source software simply �matures� quicker than regular software, Sun should be proud to be part of open source, it is the only thing Microsoft can't buy....
    Opinions Of Matt Prokes..
    [email protected]

    And now your question is "How should my ideas be marketed?" Well unfortunately ideas, even if they are unique and original, are a dime a dozen. And they are mostly drowned out by propaganda, sometimes in the guise of ideas itself.
    If you really want to propagate your ideas, then you need to follow ashkelon's advice. My eyes glazed over almost instantly when I ran into 40-line paragraphs. Find somebody who writes well and ask them for their help. (Those people are often called "editors" when they are at work.)
    Next, where should you try to send your ideas? I can tell you that vice presidents of marketing respond negatively when people come out of nowhere and tell them "You are doing your job wrong, here's what you should be doing." No matter whether what you say is true or not, that's just human nature to get all defensive when that happens. You could try to get an article like what you posted there published in one of the industry magazines that covers topics like that; but to do that you would definitely need an editor. (You might even get paid for the article, too.)

  • Follow-up for Michael Conniff (or anyone interested in corrupt NetInfo DBs)

    Michael was EXTREMELY helpful to me with a corrupt NetInfo database problem I had a few months back (that archived thread is here:
    http://discussions.apple.com/thread.jspa?threadID=823282&tstart=0
    I was talking to someone else about this recently, and I realized I never posted a follow-up/conclusion to that thread (& I can't now because that thread is archived).
    I tried some things (that I never posted about) in the solution process that Michael had never tried (& I think it worked), and I also discovered some interesting little facts/tips about trouble-shooting these things, tips that, at the time, Michael did not know (heh, I feel so smart, because he knew SO much!).
    So, Michael, if you're out there, and would like a few more tidbits to add to your voluminous knowledge (though by now you may already have learned what I have to offer), or, if there's anyone else out there with a keen interest in how to recover from a corrupt NetInfo database, let me know, I'll post my little bits of knowledge.
    My tips aren't monumental discoveries (some might even find them obvious), and they will likely be of little interest except to people with an interest in how to recover from a corrupt NetInfo database, but I figured I should try to make my own little contribution here if anyone's interested in the info.

    The basic resolution wasn't too exciting...backup in FireWire Target Disk Mode, then Archive & Install (& just to be very deliberate I did end up fixing the 10.3 first, then upgrading to 10.4 w/ another A&I). But the interesting stuff is in the details.
    For one thing, at one point we were discussing what was in my NetInfo, and longnames, whether they were find-able, etc. Well, I discovered that while the NetInfo db isn't meant to be human-readable, if you do "more" the various files inside /var/db/netinfo/local.nidb, you can in fact read enough of what comes out to figure-out what users are defined and a few of the details of how they're defined (for instance, the longname, their password hint, etc).
    More interestingly, we had put my system through a new round of setup and had setup the 501 user, but then got stuck. One worry I had was would the A&I now know what users to keep since the NetInfo presumably no longer knew about the users that used to be on the system (& I think I did "more" the local.nidb files and saw there was no apparent entries for the users I cared about).
    Apple had a knowledge base article about restoring your NetInfo from the auto-backup that is sometimes created
    http://docs.info.apple.com/article.html?artnum=107210 We saw that I had an auto-backup in /var/backups/local.nidump, though it was old and we wondered if it had the users that I cared about in it.
    Well, I discovered this file is plain text and fully readable! So, I "more"'d it and saw that everything I cared about was in that backup! You were unsure if that Apple article was the best way to restore a NetInfo, but I tried it (I figured I had nothing to lose before my A&I), and as far as I can tell it worked great. I did Apple's NetInfo restore steps, did an A&I, and when it came up, all the users I cared about were there and defined just like they'd always been. I did not try testing the system after the restore & BEFORE the A&I...I didn't want to take any chances, I just wanted my users back and a clean system and I figured the most reliable way to reach that desired state was to restore the NetInfo and then do the A&I immediately.
    So, 3 good tidbits: You can semi-read some good info out of local.nidb, you can check to see how good your backup is in local.nidump pretty easily (just read it), and Apple's restoration instructions seem to work pretty well.
    Moral (for me): If you run 10.4 or earlier, you do want that 3:15am auto-backup to happen from time to time. It could be useful one day.
    I have a question though, how come when I start a GUI Terminal window there are some commands it won't execute even when I use sudo?
    For instance, I can
    cd /var
    But even if I try
    sudo cd backups
    there's no way to cd to /var/backups.

  • I feel scammed and cheated by your deskjet 1000. picked it up, looked at the specs on the box...

    and there was no disclaimer that i would need anything aside from my computer to get this up and running.  once i install everything, i find out i need a special usb cord, which i might have somewhere but i cant find it, and so now i am going to have to buy it.  since i try to keep my time at walmart limited and quick, standing in line to return this printer is not an acceptable option.  i would be willing to buy the usb needed but out of principle i think some sort of amends should be made here given there was no warning on the box.  i do not have a lot of spare time on my hands, buying this printer just wasted plenty of my time,  and on top of that, i followed the directions and installed your software that has some form of malware or spyware in it, and though it is not aggressive it is now in my computer.  The way the directions were stated to install disc then worry about USB....   I have tried customer service and i refuse to give certain personal information, given that such information has value to it and so far in this exchange it seems I am just givng you more than what you are giving me in a very substantial way.  The bottom line is everything on the box stated this was ready to plug and play,  without any warning that a special usb cord would be required.  Additionally, I cannot find in the support where to voice my feelings regarding this product and your presentation of it.  I am sick of the answer being return it to walmart for a refund,  because that costs myself gas money for one, 2 I do not have a lot of free time, 3 walmart returns line can take hours.  with this being this case, if I do not receive some sort of positive reply, the only thing i can think will end up happening is me returning printer to walmart, and waiting in line for 10-20 minutes, and if im still in line i will just smash the printer on the ground because that is what it is worth to me in this circumstance.  creating a scene such as this will surely attract attention, and having someone record the incident would be a great viral video.   I loathe extreme measure such as these, but the way in which your product was presented is a lie,  it is not straight out the box and it is not until you look deep in the instructions that you find you need a special usb cord.  my 2.0 wont fit, or i maybe just need the specialized hp usb but there is no help in the directions.  this one small thing,  "you might need to purchase a usb cable separately" stated in the directions,  offends me in such a way i cannot put words to it.  I might need to??  And what usb cable exactly, i have tons of them but none of them fit.  If i were to go and try to buy one it would take at least an hour and normally sales people cannot find these cords in my experience.    so how can i get my money back or purchase the appropriate usb at a decent rate?  this is such a sly sort of business practice I feel the urge to contact the FTC and related consumer bureaus.  Ordinarliy this sort of thing is shrugged off,  but I have been seeing this sort of unethical in a way most sly because it seems to play on the fact we americans do not have a lot of free time on our hands and normally our best option time considered is to buy a new one while trying to take this one back but who knows how long the wait in the returns is going to be.  I am very frustrated about this and will continue to vent across social networks, and though the cry will go mostly unnoticed, I am sure there are some that would find the hidden contents in your install CDs quite interesting.  

    I sure wish I would have read this BEFORE I bought this printer!!  My old printer died, I need to print some papers FAST; ran to Walmart and got this and STILL can't print!! Why you ask!  Well, I MIGHT (really) MIGHT?! sorry that is so not right, but in fact I too, like you did not realize I "MIGHT" need to have this usb cable until the end part of installing. I looked on my box, and it does state cable not included.  Though it is really small, and in a location you would not think to read mine is on the top upper left corner when looking down on the top of the box.   This "might" makes one feel like they put these cables in some of these but not all, and IF you did get one your lucky!!!  This makes me mad at hp as well.  I too am so "mad" I could do the same as you in Walmart and smash the thing make a scene and holler out it's hp and their slimy greedy ways made me do it!  And hopefully, it would cause hp business.  Maybe we should get together and make our own commercial with an "anger management" professional and have it be said the companies are the cause of this anger for there slimy ways and that hp was the one who put use over the edge!  Greed, is never good for anyone.  This was nothing but WRONG HP, how can you sleep at night knowing your acting only in GREED? And for what? some usb cable, what a bad choice on your part! Didn't you think this through first? For surely if you did you would have known it would cause bad publicity for you!!  Or are you this needy????  Just wondering, do you even know the name of the cable this printer takes?  Because yes, it is a usb, but there are many many different types of usb cables!  For your material provided and all I can find on your site is a usb cable!!!!! and there is not even a standard usb cable slot on this printer!!! Morals and Values don't show here with hp, and Intergrity??? don't see that at all.  Also, it's not just hp, but wow has the material quality gone way down too! Feels like a cheap dollar store broken in a day item.  And I hope for your sake you did not place any tracking spyware or any other CRAP on my laptop with your intallation disc.   I will use my freedom of speach big time then.  No more hp, I believe you blew it for sales from me from now on!

  • HOW TO: Create a JSP Edit Record Form Using BC4J Data Tags

    This is a JDeveloper Tech Note found on the OTN Documentation page. This note describes the use of the BC4J data tags to create row edit/submit JSP pages. Here is the link:
    http://technet.oracle.com/docs/products/jdev/technotes/datatag_input/Edit_Form.html

    Are you using Java 1.4.* ?
    Use JFormattedTextField.
    import javax.swing.*;
    import java.text.*;
    import java.awt.*;
    import java.util.*;
    public class DateExample
        public static void main( String [] args )
          // Here's what you're interested in...
          DateFormat dateFormat = new SimpleDateFormat( "MM/dd/yyyy" );
          JFormattedTextField field = new JFormattedTextField( dateFormat );
          field.setColumns( 11 );
          field.setText( dateFormat.format(new Date()) );
          JPanel panel = new JPanel();
          panel.add( field );
          panel.add( new JButton( "Hey" ) );
          JFrame f = new JFrame();
          f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
          f.getContentPane().add( panel );
          f.pack();
          f.setVisible( true );
    }It also works with other types of Format objects (ex. Currency, Decimal, etc.)

  • BC4J,Setting a default Value In a View With Data From An Other View

    hi
    I'm developping A BC4J. I want to set the default value of a field By counting the number of rows in an other view.
    So I want to instanciate the view and execute the sql statement and get the result.
    Is that the right manner to do it or not.
    can someone help me to do that
    cheers
    ghassen

    There's lots of ways to skin this cat depending upon whether you mean "database view" or "view object" when you say "view", and individual requirements.
    Given database views v1 and v2 with a common key between them
    select v1.x, count(*) from v1,v2 where v1.key = v2.key group by v1.x;
    either in the database view or in expert mode for the view object ( I think it'll take group by, but never done it ). ( assumption is that v1.x is a primary key for v1 )...
    Try this from sql*Plus first to get a feel for how this works.
    The catch with the above is that it is "static"... if you can ADD rows to v2 in your application... they aren't visible in the count until saved and requeried.
    Another way ( I think... hopefully Oracle folk will kibitz... )
    Create your own attribute on the view object like "TheOtherCount".
    In the view object's RowImpl, find the "getTheOtherCount". Find the count of rows in the second view object or entity object or rowSetInfo through the method of your choice. ( If you've already set up a master detail relationship that is active you can just get the rowcount! ). Refer to earlier postings on how to get the rowcount, or to create a dynamic view query to get the count.
    The nice thing is that this should reflect your counts even if the second view has added or removed rows... but will probably move like a snail.
    Note that if you have a need where you want the row count updated in a frame for v1 whenever v2 is added to or removed from... well... then you need to set up some sort of event listener to do a redisplay of v1's frame, I'd think? Since the attribute you've created in the view object is not based on an entity object attribute, it has no way to know when it has been "updated" via an additional or removed row from the target.
    I'm posting the above because no one has responded yet... it may form a place to start from. And maybe someone in the know will go "No, No, No... KKirk... it doesn't work that way at all!" and fill us in on how this can be accomplished!
    Good Luck

  • "Electrical leakage feeling" on ENVY 14-2136NR

    Hi all,
    I just bought a hp  ENVY 14-2136NR and I noticed something rather annoying: whenever the laptop is plugged into the wall outlet and I touch the case (back of the screen), or any metal part of it (around the mousepad), I have this buzzing/vibrating sensation going through my hand.
    It is not due to the vibration of internal component but clearly from the electricity since it stops when I unplug it and also only happens when touching the metal parts. It is strong enough for my girlfriend to feel it while touching my skin while I have my hand on the laptop.
    One interesting thing I noticed is that this stops if I use a grounded outlet. The problem is that I only have 1 such outlet in my house.
    I know it's an electricity matters but maybe someone knows or maybe someone experienced something similar.
    Does this present a health hazard?
    Can it damage the computer overtime?
    I'm thinking to return the laptop now, it's a shame because I really like it. However, I have the impression that this is not limited to this laptop only, maybe even any laptop with metallic surface would have the same problem?
    Thank you!
    This question was solved.
    View Solution.

    I would recommend contacting HP phone support about this issue as there is not much that can be done about it on the forum. The support number if you are in the US is 1-800-474-6836.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Change of Layout/Look and Feel in BI 7 Reports.

    Hi,
    This is Prem from NetWeaver Portals.
    Currently we have a couple of BI 7.0 reports integrated into portal.
    We have also used Portal Themes to alter the Look and Feel of the BI reports with respect to Heading colors, alternate row colors etc. But the scope of changing the Look and feel of BI reports from the Portal theme is very limited.
    Is there a way to modify it further from BI's CSS?
    Where is this functionality provided in SAP BI 7.0?
    We are also interested in changing the Layout of the reports in BI. i.e. unlike the standard BI format of reports as generated from the Web Application designer, we would like to change the layout as well.
    How is this layout change carried out? Web Templates?
    Kindly spell out a solution for me as I'm not aware of BI
    Thanks and Regards,
    Prem

    Could yo please explain little detial. how do you changed the look and feel of reports through the portal themes. We are trying to change the colors of the execptions and text box and some more.  we have created a custom theme  in which we changed the  complex formatted table  crictal, bad, good colors. when we assigned this theme through personalization to the user, custom theme colors are not seen in the BW report. 
    Please let us know
    thanks and regards
    venkata bandi

Maybe you are looking for

  • WSW0100: Unable to create Service

    Hi, I am trying to access a webservice(Location.jws) via a dataservice function(GetLocationResponse.ds) The primary objective of the webservice is to post a request to GlobalLocate, a location provider and obtain the user's location co-ordinates. On

  • Errors during CS6 update

    After software download and update Adobe Application Manager gives the following errors: Touch App Plugin Update Installation failed. Error Code: U44M1P7 DPS Desktop Tools CS6 2.05.1 Update There was an error installing this update. Please quit and t

  • Looking for Photo Shop and Illustrater Product

    Dear Sir, we are looking for Photoshop and Illustrater product for my small business running personally on yearly Basis, please sugeest me which one is better for me. Thanking you

  • ITunes: where is the option to sync music without iCloud ????

    I have 3000+ songs in my iTunes account on my mac Mini I upgraded to iO6 and now, the only option I have to sync my music that I see is with iCloud.  I no longer have an option to sync the music on my computer directly to my iPhone. iClould doesn't w

  • "move to trash" not working in preview

    Since I move to OS Lion, the option "move to trash" no longer works in Preview when viewing a .pdf file. I have administrator privileges and the files are not "locked". Is this a bug? Can you help me. Thanks in advance.