The best way to change BO layer (in B2B Java class)

Hi, mate:
One question, what is the best way to modify a business object.
For example: in B2B java, there is a class:
BidMgrImpl.java, however I want to modify some code for method Bid(),and for the action flow and JSP, I do not need to modify them.
I am looking for the simpliest way to implement this. instead of modify from JSP, to config.xml, action, and BidMgrImpl.java?
Cheers,
Eric

Hi, Prashil:
Thanks for your reply.
And a basic question, I am using NWDS now, and have none exprience of the tool.
I followed one PDF file(How_To_Create_Custom_App_ECO5200.pdf) to create my application(b2b_xyz), now I have three applications:
- LPJ_CRM_Db2b_xyzsap.com
- LPJ_CRM_Dcrmhomeshrext~sap.com
- LPJ_CRM_Dcrmisawebb2b~sap.com (this contains all JSP files under webcontent folder).
my question is if I need extend one class, where and how can I create:
for example in SAP application:
com.sap.isa.auction.businessobject.b2x.BidMgrImpl
In this class, if I need extend, what's gonna be the classpath, and where I can create this subclass.
Cheers,
Eric

Similar Messages

  • What is the best way to verify default heap size in Java

    Hi All,
    What is the best way to verify default heap size in Java ? does it vary over JVM to JVM . I was reading this article http://javarevisited.blogspot.sg/2011/05/java-heap-space-memory-size-jvm.html , and it says default size is 128 MB but When I run following code :
    public static void main(String args[]) {
    int MB = 1024*1024;
    System.out.println(Runtime.getRuntime().totalMemory()/MB);
    It print "870" i.e. 870 MB.
    I am bit confused, what is the best way to verify default heap size in any JVM ?
    Edited by: 938864 on Jun 5, 2012 11:16 PM

    938864 wrote:
    Hi Kayaman,
    Sorry but I don't agree with you on verification part, Why not I can verify it ? to me default means value when I don't specify -Xms and -Xmx and by the way I was testing that program on 32 bit JRE 1.6 on Windows. I am also curious significant difference between 128MB and 870MB I saw, do you see anything obviously wrong ?That spec is outdated. Since Java 6 update 18 (Sun/Oracle implementation) the default maximum heap space is calculated based on total memory availability, but never more than 1GB on 32 bits JVMs / client VMs. On a 64 bits server VM the default can go as high as 32gb.
    The best way to verify ANYTHING is to address multiple sources of information and especially those produced by the source, not some page you find on the big bad internet. Even wikipedia is a whole lot better than any random internet site IMO. That's common sense, I can't believe you put much thought into it that you have to ask in a forum.

  • I have an iphone4s and my two daughters have an iPod each. They both have used my apple id. How is the best way to change our their ids as I have been told we all need separate ids to be able to message each

    I have an iPhone and my two daughters both have iPods. They both use my apple Id and I would like to change their Id. . How is the best way to do this? My younger daughter had her iPod only last week and when she set it up, she ended up with all my phone contacts on Her iPod. If I change her apple Id will this remove the contacts from her iPod and leave mine intact on my phone?

    Anyone...anyone? Bueller...Bueller?

  • What would be the best way to change the color of part of this image? (image attached)

    I am on XP using PS CS4.
    Please see the photograph below. I would like to change the color of the shirt/apron of this lady & I was wondering what the best way is to do that. I know if I try replace color, the white bowls change color as well. In the past I have isolated parts of images using paths, but I wanted to know if that was the most efficient way. Maybe masking is the answer. I just wanted to hear from the pros
    Thank you.

    You're welcome!
    Refine Edge button is in the options bar when the QST is active.
    Refine Mask should be available whenever a mask is targeted.

  • Whats the best way to Change, Increase partition on Win side.

    I want to up grade to Windows 8 on my bootcamp partition which is 34GB now, I have 500GB free space on my Mac side. IF I understand what others have written,
    I will go into Disck utility and erase the bootcamp and then reinstall bootcamp and increase the partition of boot camp to 200GB. I already back up my mac data and the windows data separately, so I have that if I need it. So Is this the best way to repartition?  Or do I also need to erase and start over on my mac side also?  I have a iMac 2010, 16GB RAM, 1 TB HD, and been running boot camp since I bought it. I also use Parallels (recently upgraded to 10) to go back and forth between them.
       Thanks for any help.

    I just successfully installed Windows 8.1 Update 1 on BootCamp on Mac OS X Yosemite. Here is a step by step I just wrote, hope it helps y'all:
    How to successfully install Windows 8, or above, on Mac OS X Mavericks or above:
    Requirements:
    1- Windows OS ISO Image file
    2- An 8GBs USB Flash Drive
    3- A good Internet connection as you will need to download the Windows compatible drivers for your Mac
    Steps:
    1- Open up Disk Utility and create an additional partition for Windows formatted as ExFat. 100GBs, or above, is recommended as update to the operating system, as well as Apps requiere space on your HD or SSD [This step can be done during Mac OS X's installation process]
    2- Open up BootCamp Assistant
    3- Make sure only the 'Create a Windows 7 or later version install disk' is checked and your USB Flash Drive plugged in and click 'Continue'
    4- Click 'Choose' and select your Windows ISO Image file
    5- Select the USB Flash Drive you will be using during the installation process and click continue to confirm
    6- Once done, restart your Mac and hold down the 'alt/option' key on your keyboard to bring up the Boot Menu
    7- Select the USB Flash Drive named Windows, not the UEFI Boot
    8- Install Windows as you normally would
    * Remember to press and hold the 'alt/option' key, and select the Windows Partition, whenever the installation process requires your Mac to restart
    * http://msdn.microsoft.com/en-us/library/windows/apps/jj945423.aspx
    * http://windows.microsoft.com/en-us/windows-8/install-windows-on-mac

  • Which is the best way for a called function to identify caller class name.

    Which is the best way for a called function to identify the caller class name .
    1)Using sun.reflect.Reflection from called function
                    Class caller = Reflection.getCallerClass(2);
                    System.out.println("Caller Class Name ::"+caller.getName());2) Analyzing current threads stack trace from called function
                    StackTraceElement[] stElements=Thread.currentThread().getStackTrace();
                    System.out.println("Caller Class Name ::"+stElements[3].getClassName());Is there any alternate ways to achieve the same .Which is the best way ?
    Called function doesn’t have any arguments, I don’t want t pass any arguments from caller function to called function.
    Plz help.
    With kind regards
    Paul

    798185 wrote:
    Which is the best way for a called function to identify the caller class name .
    Is there any alternate ways to achieve the same.SecurityManager
        // 0 is the anonymous SecurityManager class
        // 1 is this class (also works in static context)
        // 2 is calling class
        static Class getClass(int i) {
            return new SecurityManager() {
                protected Class[] getClassContext() {
                    return super.getClassContext();
            }.getClassContext();

  • How is the best way to change the label of an icon placed on the homescreen

    When I place an icon on the home screen I would like to edit it to the label I would like it to be.

    I do not see any built-in way to do this.
    You can name a bookmark anything you like, but when you long-press a site on the home screen and choose Edit, bookmarks are not always suggested as matches. The only way I can guarantee that a bookmarked site is listed is to add some unique characters to the bookmark name that won't come up in history for that site. Of course, this takes away from having full control...

  • What is the best way to change a namespace in an xml document

    Hi,
    I need to change an xml namespaces. The xml has about 200 elements and every element may have a namespace attribute (namespaces are all the same).
    Is there any better solution then the following function?
    SQL> create or replace function change_namespace(p_xml xmltype, p_namespace varchar2) return xmltype is
      2    l_doc dbms_xmldom.DOMDocument;
      3    l_nodes dbms_xmldom.DOMNodelist;
      4    l_node dbms_xmldom.DOMNode;
      5  begin
      6    l_doc:=dbms_xmldom.NewDOMDocument(p_xml);
      7    l_nodes:=dbms_xmldom.getElementsByTagName(l_doc,'*');
      8    for i in 0..dbms_xmldom.getlength(l_nodes)-1 loop
      9      l_node:=dbms_xmldom.item(l_nodes,i);
    10      if i=0 then
    11        --set namespace only for the root node
    12        dbms_xmldom.setattribute(dbms_xmldom.makeElement(l_node),'xmlns',p_namespace);
    13      else
    14        --remove all the other namespaces
    15        dbms_xmldom.removeattribute(dbms_xmldom.makeElement(l_node),'xmlns');
    16      end if;
    17    end loop;
    18 
    19    return dbms_xmldom.getxmltype(l_doc);
    20  end;
    21  /
    Function created.
    SQL> select change_namespace(xmltype('<a xmlns="aaa"><b xmlns="aaa">4</b><c>44</c></a>'),'newnamespace')
      2  from dual;
    CHANGE_NAMESPACE(XMLTYPE('<AXMLNS="AAA"><BXMLNS="AAA">4</B><C>44</C></A>'),'NEWN
    <a xmlns="newnamespace">                                                       
      <b>4</b>                                                                     
      <c>44</c>                                                                    
    </a> Ants

    Hi,
    I found a better and almost 10x faster way to remove the namespaces, using xsl.
    here's the original xsl with a little modifications http://bytes.com/forum/thread448445.html
    SQL> with t as (select xmltype('<a xmlns="aaa"><b xmlns="aaa">4</b><c>44</c></a>') xcol from dual)
      2  select xmltransform(xcol
      3    ,xmltype('<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
      4               <xsl:template match="*">
      5                <xsl:element name="{local-name()}" namespace="">
      6                 <xsl:apply-templates select="@* | node()" />
      7                </xsl:element>
      8               </xsl:template>
      9              </xsl:stylesheet>'))
    10  from t;
    XMLTRANSFORM(XCOL,XMLTYPE('<XSL:STYLESHEETVERSION="1.0"XMLNS:XSL="HTTP://WWW.W3.
    <a><b>4</b><c>44</c></a>+but check Laurents Schneider's blog website+
    I didn't find any posts about namespace on Schneider's blog.
    Ants

  • What is the best way to change the flooring in an image keeping perspective?

    For example, I have an image of a lounge room and want to show a client different flooring options including tiles, floorboards. Key is keeping the perspective and being able to easily select and replace the floor. Thank you!

    A good cheat if you are not sure, is to find and download an image with the appropriate oerspective, and use that as a guide.   I usually do it by eye, start the Free Transform process, and hold down the Ctrl (Cmd) key while dragging corners, and release thwe Ctrl key if I want to resize.  This lets you do it all in one operation with minimum loss of quality, but it certainly helps to make the layer a Smart Object. 
    Actually, thinking about it, definitely make it a SO.  With a normal layer if you need to tweak the transform, the corner handles remain square to the image, and difficult to drag into place.  With an SO the corners will still be at the corners of the object regardless of its shape and orintation.
    But Chuck's idea of using Vanising Point is best if you have the information there in the image to shape the perspective to.
    Check this tutorial by the king of Photoshop for illustration, Steve Caplin
    https://www.video2brain.com/en/courses/creating-perspective-in-photoshop/details
    and this one
    https://www.video2brain.com/en/lessons/drawing-the-floor-and-wall
    One of these days I'll take out a V2B subscription long enough to watch the whole of this course.

  • What is the best way to change my account

    When I got my first mac back in 2003 I set my .me account up with my internet service provider. Now, if I move and disconnect from that provider what do I have to do as far as receiving my receipts and emails in iCloud?

    Your icloud account is independent of your provider.  I'm guessing that you used an "non-Apple" email address as the ID for that old account.  Is that right?
    Have you edited the account's info such as contact email address?
    To change your Apple ID go to http://appleid.apple.com and click 'Manage your Apple ID'.   Before you do this turn off location services and Find My iPhone/iPad/Mac on all devices.

  • What is the best way to change to color of the first word in a paragraph?

    I have a lot of paragraphs where I want the first word to keep the same font, size, type - but I want to change just the color of the lettering.

    p:first-child em {} is overqualifying that selector, I think. First, you do not need the :first-child pseudo element to target that first paragraph, since you already have that <em> tag surrounding that word. What's the point of adding in useless specificity? Second, it overcomplicates and bloats the code.
    I also feel <em> is the wrong tag to apply, depending on whether or not you would pronounce that word differently from the rest of the text. The use of em implies that. If it's merely used for styling, a <span> tag would fit better.
    So I would go with mytax's code. Simple, and efficient.
    Would be handy though if CSS had a :first-word pseudo element :-).
    In the meantime while we wait for improvements, if you DO need complete typographic control, try lettering.js (jquery plugin):
    http://letteringjs.com/
    Like this:
    <p class="word_split">Don't break my heart.</p>
    <script>
    $(document).ready(function() {
      $(".word_split").lettering('words');
    </script>
    And then:
    .word1 {} in your css would target "Don't"
    .word2 {} in your css would target "break"

  • HT5624 hello . my question is , if i want change my security answers , what is the best way to change it , i tried many time to sent email to restert my security answers , but nothing come to my email . can please help me . thank you .

    hello . i have problem that is i forget my security answers i tried to send it to email but nothing come . how can i slove this problem . please help my thank you .

    Alternatives for Help Resetting Security Questions and Rescue Mail
         1. Apple ID- All about Apple ID security questions.
         2. Rescue email address and how to reset Apple ID security questions
         3. Apple ID- Contacting Apple for help with Apple ID account security.
         4. Fill out and submit this form. Select the topic, Account Security.
         5.  Call Apple Customer Service: Contacting Apple for support in your
              country and ask to speak to Account Security.
    How to Manage your Apple ID: Manage My Apple ID

  • Best way to change the speed of a sequence of linked short clips?

    I have a sequenced project of about 150 short 1 second clips linked together via a crossfade transition... I would like to make the timelapse faster. What is the best way to change the speed of the sequence or the clips themselves? I would rather change the sequence for it would be less labor intensive I would imagine!!
    Thanks
    RD

    Or...select all the clips in the timeline, control-click (or right-click) on them and select 'Duration'. Change the duration to whatever will fit/fill the timespan you need, then hit OK.
    If you're needing to change the dissolve as well, you should remove all but one of them first, then drag the remaining transition into the browser. Dbl-click it into the viewer, set the duration of what you want, then use the hand icon at top right and drag it back into the browser. Rename it relevent to it's new duration, then control-click on it and select "Make Default".
    Now, set an inpoint at the first frame of your clips in the timeline, then drag all the shortened clips from the timeline into the canvas and release where it says 'Overwrite with Transition'.
    That's another way to accomplish this.
    K

  • Best way to change fund posted in an EBS document

    What is the best way to change the fund in one line item in a document produced when the electronic bank statment is processed? The bank charges fees that come through the statement and should post to a different fund then any other item such as checks, etc.
    I am trying a substitution but coming across the error Field COBL-KOSTL. does not exist in the screen SAPLKACB 0002.

    The error message that I was receiving...Field COBL-KOSTL. does not exist in the screen SAPLKACB 0002, was coming from function module EXIT_RFEBBU10_001 and include ZXF01U01. The programming code was attempting to default a cost center when the external transaction code = 661. The coding was removed and the default acct assignment cost center was added to the cost element master data. The substitution also worked correctly as it should.

  • Newbie Quesion: Best way to change colour of a movie

    Hi,
    Could someone tell me the best way to change the colour of
    one element of a
    movieclip in AS2?
    Say for example I had a filled white circle in the middle of
    a black square,
    how can I change just the colour of the circle?
    I have tried this.myColor.setRGB( color ); but that sets the
    entire clip to
    be of one colour. Do I need ( as I suspect ) one clip on top
    of another or
    is there any way of keeping details of the clip being
    changed?
    TIA
    Wil

    Cheers jdh,
    This is one method I'd considered.
    I'll give it a bash.
    Wil
    "jdh239" <[email protected]> wrote in
    message
    news:ens1vd$ahn$[email protected]..
    > Don't know if this will help, but this code changes the
    color of my
    > "LOADING"
    > text while it is loading. Should have the essential code
    to do what you
    > are
    > looking for.
    >
    > Make the white circle a movie clip and pick the
    following code apart to
    > get it
    > to change colors:
    >
    >
    >
    > stop();
    > loading.gotoAndPlay(1);
    > import flash.geom.ColorTransform;
    > import flash.geom.Transform;
    > var colorTrans:ColorTransform = new ColorTransform();
    > var trans:Transform = new Transform(loading);
    > trans.colorTransform = colorTrans;
    > loadI = setInterval(loadF, 100);
    > function loadF() {
    > percent =
    Math.floor(_root.getBytesLoaded()/_root.getBytesTotal()*100);
    > if (percent<=39) {
    > colorTrans.rgb = 0x0000FF;
    > // blue
    > trans.colorTransform = colorTrans;
    > } else if ((percent>39) && (percent<60)) {
    > colorTrans.rgb = 0x00FF00;
    > // green
    > trans.colorTransform = colorTrans;
    > } else if ((percent>60) && (percent<80)) {
    > colorTrans.rgb = 0xFF8000;
    > // orange
    > trans.colorTransform = colorTrans;
    > } else if ((percent>80) && (percent<99)) {
    > colorTrans.rgb = 0xFF0000;
    > // red
    > trans.colorTransform = colorTrans;
    > } else if (percent>=99) {
    > clearInterval(loadI);
    > _root.gotoAndPlay(16);
    > } else {
    > loading.gotoAndPlay(1)
    > }
    > }
    >

Maybe you are looking for

  • New user with Droid Razr-

    Can not send text messages. What have I done wrong.

  • Quicktime video clips won't sync with ipod

    Hi I've been trying to get some of the quicktime video clips I have to sync with my ipod but it says it can't because it can't play the clips on ipod. I've done it before but that was so long ago I have forgotten how to do it. So can anyone help me o

  • Keyboard & Mouse Settings - Mouse Tracking Problem

    Whenever I change the tracking setting for my mighty mouse in system preferences it works fine, but as soon as I close system preferences the tracking setting reverts to the default setting. I tried altering various settings and they all remain as I

  • Help with Servlet/HTTP/Database

    Hi, I am an 18 year old student, about to enter university and very new to JAVA. Would anyone be kind enough to put down the script for a simple servlet/HTTP login page that is connected to a database and explain some of the key features of it for me

  • Can't Save Microsoft Word & Excel for MAC files

    Has anyone encounter the software bug that prevent you from saving Microsoft for Word .doc and Excel workbook files to a USB drive attached to the Airport Extreme. After numerous conversations with level 2 technical support and a visit to the Apple S