Difference between Message View and Console Output view on JDeveloper 3.0

Hello,
My name is Vani Bansoodeb and I have just started learning Java.
I am using Oracle JDeveloper 3.0 as IDE.
I was trying the Synch.java(see below) program to learn how to
use the "synchronized" key word.
However, I got 2 diffent outputs, depending on the output medium.
With the MESSAGE VIEW, I got the following output:
[Hello
[Synch
[World
With the CONSOLE WINDOW (i.e.DOS Prompt), I got the following output:
[Hello]
[Synch]
[World]
Could anyone please tell me why the right square bracket is printing on
a new line in the first case?
Thanx,
Vani
------------Synch.java--------------------------------------------------
class Callme {
synchronized void call(String msg) {
System.out.print("[" + msg);
try{
Thread.sleep(1000);
}catch(InterruptedException e){
System.out.println("Interrupted");
System.out.println("]");
class Caller implements Runnable{
String msg;
Callme target;
Thread t;
public Caller(Callme targ, String s){
target = targ;
msg = s;
t = new Thread(this);
t.start();
public void run(){
target.call(msg);
class Synch{
public static void main(String args[]){
Callme target = new Callme();
Caller ob1 = new Caller(target, "Hello");
Caller ob2 = new Caller(target, "Synch");
Caller ob3 = new Caller(target, "World");
try{
ob1.t.join();
ob2.t.join();
ob3.t.join();
}catch(InterruptedException e){
System.out.println("Exception Interrupted");
}

Thanks for your feedback,
What I was wondering is: Why has the db to look for distinct values? There is a unique ocnstraint on this column so the DB should in advance know that there will be no dublicate.
It would be intressting to check in the Oracle Optimizer does it the same way on a 10g DB.

Similar Messages

  • What is the difference between message type and element

    hi,
    When we create a new variable in BPEL we get the option to create 'simple', 'message type', 'element'
    I would like to know what is the difference between message type and element.
    thanks
    Yatan

    A message is part of the service and is usually assigned to one of the operations in the wsdl. For example getPhoneNumer() operation may have an input message of personInput and output of phoneNum. These messages would have a type...maybe of string or decimal or a complex type with multiple values.
    An element is typically a complex type that could be defined in an xsd file.
    When you create a variable in the bpel, you can declare it as a message or a simple type or an element. As I understand it, the simple types are pre-defined in the schema namespace such as string, decimal, date, etc.
    The elements are defined in the xsd files or wsdls and can be a combination of strings, dates, etc or other stuff as well.
    The messages are defined in the wsdl as part of the input/output but they are typically assigned a type just like other variables you create.

  • Difference between message type and idoc type

    Hi
    difference between message type and idoc type
    Regards
    Rama

    Hi,
    Message Type:
    A message type represents the application message exchanged between R/3 systems and R/3 and an external system. A message type characterises the data sent across systems and relates to the structure of the data called an IDOC type.
    Diff. with IDOC type
    An IDoc type specifies the structure of the data.
    A message type specifies the meaning of the data
    Diff. b/w IDOC type and IDOC
    An IDoc type is the definition of a specific data structure.
    An IDoc is an actual instance of data based on an IDoc type. Therefore, there can be many IDocs created from a single IDoc type.
    Example:
    MATMAS is the message type and MATMAS05 is IDoc type for Material Master.
    Thanks,
    Shankar

  • Difference between Message monitoring and end tot end monitoring.

    Hi,
    What exactly is the difference between message monitoring and end to end monitoring?
    I read that message monitoring is used  by end to end monitoring. Then why do we have two separate monitoring options?
    Thanks
    Hari.

    End-to-End Monitoring
    You use end-to-end monitoring in the following cases:
    ●      If you want to monitor message processing steps in a number of SAP components (to be configured).
    ●      If you want to monitor the path of individual messages through these SAP components, from start to end.
    Message Monitoring
    You use message monitoring in the following cases:
    ●      To track the status of messages
    ●      To find errors that have occurred and establish what caused them
    for detail see this
    Message Monitoring
    http://help.sap.com/saphelp_nw04/helpdata/en/2f/4e313f8815d036e10000000a114084/frameset.htm
    End-to-End Monitoring
    http://help.sap.com/saphelp_nw04/helpdata/EN/82/9e8dfe9eadbd4b9194c433e646b84e/content.htm

  • What is the difference between Message Monitoring and End-to-End monitoring

    Hi experts,what is the difference between Message Monitoring and End-to-End monitoring? and What is the difference between Value Mapping and Fix value?
    Thanks,
    Manoj

    HII
    You use message monitoring in the following cases:
    ● To track the status of messages
    ● To find errors that have occurred and establish what caused them
    Check this help for further info:
    http://help.sap.com/saphelp_nw04/helpdata/en/2f/4e313f8815d036e10000000a114084/content.htm
    You use end-to-end monitoring in the following cases:
    ● If you want to monitor message processing steps in a number of SAP components (to be configured).
    ● If you want to monitor the path of individual messages through these SAP components, from start to end.
    Check this help for further info:
    http://help.sap.com/saphelp_nw04/helpdata/en/82/9e8dfe9eadbd4b9194c433e646b84e/content.htm
    also refer this doc...gives more insight on various monitoring:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0b4580be-0601-0010-d3ad-bd6ce51ae916
    ... End-to-end monitoring in SAP XI provides a graphical overview of the different XI
    components and the message flow between them. It is based on the Process Monitoring Infrastructure (PMI).
    ans also
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7c/14b5765255e345a9e3f044f1e9bbbf/frameset.htm
    You use message monitoring in the following cases:
    1 To track the status of messages
    2 To find errors that have occurred and establish what caused them
    Check this help for further info:
    http://help.sap.com/saphelp_nw04/helpdata/en/2f/4e313f8815d036e10000000a114084/content.htm
    You use end-to-end monitoring in the following cases:
    1 If you want to monitor message processing steps in a number of SAP components (to be configured).
    2 If you want to monitor the path of individual messages through these SAP components, from start to end.
    Check this help for further info:
    http://help.sap.com/saphelp_nw04/helpdata/en/82/9e8dfe9eadbd4b9194c433e646b84e/content.htm
    End-to-end monitoring includes message monitoring, adapter monitoring, BPE if BPM is involved.. so end-to-end monitoring tells you complete description of your scenario......but message monitoring is concerned only with source message coming to target message successfully generated.

  • Difference between sysman.MGMT$ and sysman.MGMT_ views.

    Hi all,
    today while doing some RD i found that couple of views exist in both format like MGMT$ and MGMT_ format. Can you please tell me the difference between both of them.
    Regards
    DBA.

    The MGMT$ views all are granted (select) to the role MGMT_USER and they all have a public synonym. The role MGMT_USER is granted to (super admin?) users defined in GC.
    This is not the case for the MGMT_ views. So my idea is that the MGMT_ views are defined for internal usage and the MGMT$ views are for GC-users; f.i. show the correct data in the console.
    Eric

  • JPEG color difference between Adobe Raw and Microsoft Image Viewer

    When I calibrate my monitor or use the monitors ICC file which came with the Monitor, there is a color difference between Camera Raw image and the JPEG I save from Camera Raw, displayed in Microsoft Image Viewer.
    However, if I make my ICC file for the system to be SRGB Color Space Profile, and go through the same conversion, the JPEG image created and viewed in Microsoft Image viewer is identical to the one seen in Camera Raw.
    It appears therefore, that the operating system only uses SRGB Color Space profile for Microsoft Imaging Viewer?
    Most people I give photos to, do in fact look at them in microsoft viewer.
    How can I use the ICC profile for my calibrated monitor and end up with the same results in terms of color with Camera Raw and Microsoft image and Fax Viewer.

    All profiles are not created equal.  There's a basic version issue (ICC v4 vs. earlier), and profiles are complex things containing many fields.  Lots of things can go wrong in the creation of a proper color transform from the combination of the document and device profiles, and it kind of depends on what color management code the software uses whether it can be done properly.  Adobe has their own - the Adobe Color Engine - and there are others such as LittleCMS or even Microsoft's system-provided ICM that application designers may be using in their code.
    It may be that the profile your calibrator/profiler has produced for your monitor (or other device) isn't compatible with every application.  It happens.
    This isn't intended to provide a solution or workaround, just to help explain things a bit.
    -Noel

  • Difference between message processor and support team

    Gurus ,
      what is the difference between the "Message Processor" field and "support team" field available in support desk message .
    we are defining a three level support . with thord level as SAP GLOBAL SUPPORT . 
    need i have to give first level in message processor and the other on the support team ?
    (or)
    what is the exact purpose and difference of those fields

    HI Susin,
    Let me tell you what i know about this issue
    1) you create your organisation structure in ppoma_crm where Support Team BP is automatically created and you do not need to create explicitly.
    2) Message processor is BP of type employee with object type US.
       can be said member of Support team (BP) which you will be assigning in the ppoma_crm transaction.This user should also have an valid S User ID.
    This support team configuration in transaction ppoma_crm has its direct link with transaction 
    crm_dno_monitor where you will filtering the messages belongs to various Support teams.
    Regards,
    Vijay.

  • Difference between v$option and dba_registry views ??

    Hello all,
    Whats the difference between v$option and dba_registry views.
    SQL> select * from v$option ;
    PARAMETER VALUE
    Partitioning TRUE
    Objects TRUE
    Real Application Clusters FALSE
    Advanced replication TRUE
    Bit-mapped indexes TRUE
    Parallel backup and recovery TRUE
    Parallel execution TRUE
    Parallel load TRUE
    Point-in-time tablespace recovery TRUE
    Fine-grained access control TRUE
    Proxy authentication/authorization TRUE
    ...etc
    47 rows selected
    and
    SQL> select comp_name from dba_registry;
    Oracle9i Catalog Views
    Oracle9i Packages and Types
    2 rows selected.
    Why the difference ??
    TIA,
    Jj
    Message was edited by:
    user566698
    the DB is 9.2.0.7

    DBA_REGISTRY displays information about the components loaded into the database
    V$OPTION lists options that are installed with the Oracle server.
    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96536/toc.htm
    Regards
    Acr

  • Gereral differences between 4.7 and ECC 6.0 from FI/CO view

    Hi Guys
    Can any one tell me key differences between 4.7 and ECC 6.0 from FI/CO view.
    In interview what i must tell?
    Thank you.

    Please visit the following links:
    [http://service.sap.com/erp]
    [http://solutionbrowser.erp.sap.fmpmedia.com/ (Functional prespective)]
    [http://service.sap.com/instguides] --> mySAP Business Suite Applications --> mySAP ERP --> mySAP ERP 2005 --> Upgrade
    [http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOVC/LOVC.pdf]
    For Functionality Differences pls refer to the below site -
    [http://solutionbrowser.erp.sap.fmpmedia.com/]
    After opening the site, please select the Source Release Version which is 4.6 b Then Select the Target Release Version which is "mySAP ERP 2005" or ECC 6.0
    Select the Solution Area like Financials, Human Capital Management, Sales....
    Select module like MM, PP, SD, QM.....
    Click on Search
    Then it displays the Release Version and the Delta Functionality. which can be downloaded to a word document if required.
    and also check the release notes of ECC 6.0 in service.sap.com.
    Regards,
    Ajit

  • Difference between ECC5.0 and SAP 4.7 (ABAP developer point of view)

    dear experts,
    can anyone tell me the mian difference between ECC5.0 and SAP 4.7 from an abap developer view point.
    thanks in advance

    Hi,
    From an ABAP perspective, there are not many changes, but addition of new classes, methods etc.
    Please refer to the link - http://solutionbrowser.erp.sap.fmpmedia.com/
    The above link tells about both of the versions.
    For more information, you can refer to release notes of ECC 5.0.
    Thanks,
    Srinivas

  • Difference between 4.6 and 4.7 vesion in MM point of view

    Hai,
    can any body tell me the difference between 4.6 and 4.7 version. Please treat it as Urgent

    SAP BW 7.0 is called SAP BI and is one of the components of SAP NetWeaver 2004s. There are many differences between them in areas like extraction, EDW, reporting, analysis administration and so forth. For a detailed description, please refer to the documentation given on help.sap.com.
    1. No Update rules or Transfer rules (Not mandatory in data flow)
    2.Instead of update rules and Transfer rules new concept introduced called transformations.
    3. New ODS introduced in additional to the Standard and transactional.
    4. ODS is renamed as DataStore to meet with the global data warehousing standards.
    And lot more changes in the functionalities of BEX query designer and WAD etc.
    5. In Infosets now you can include Infocubes as well.
    6. The Re-Modeling transaction helps you adding new key figures and characteristics and handles historical data as well without much hassle. This facility is available only for info cube.
    7. The BI accelerator (for now only for infocubes) helps in reducing query run time by almost a factor of 10 - 100. This BI accl is a separate box and would cost more. Vendors for these would be HP or IBM.
    8. The monitoring has been improved with a new portal based cockpit. Which means you would need to have an EP guy in your project for implementing the portal !
    9. Search functionality has improved!! You can search any object. Not like 3.5
    10. Transformations are in and routines are passe! Yes, you can always revert to the old transactions too.

  • I need to know the difference between planned SKF and Actual SKF from business view and when I can use one of them ?

    I need just to know the difference between plan SKF and Actual SKF in business example and when I use one of them.
    thanks

    Hi Salaam,
    Statistical Key Figure (SKF) is a base to allocate the cost between cost centers. Usually, common cost centers cost should allocate to respective department cost centers on monthly basis.
    Some of SKFs are: Calculating floor rent on SFT, Telephone charges on No. of units, and employees head count is with "Each" in SAP.
    Apart from Ajay's reply, you can consider the Canteen exp in an organization. Assume Admin, Fin and Mfg departments are getting food services from Canteen. Here, total monthly cost of Canteen exp should be allocated to respective departments. Here, we use SKF as total head count of each department and distribute the cost.
    Planned SKF is what you planned on the beginning of a period. (Assume head count was planned as 30 in the month beginning)
    Actual SKF is what exactly you consumed over the period. (Actual employees provided canteen services during the month is 25)
    BR, Srinivas Salpala

  • What is the differenec between 'sap list viewer' and 'abap list viewer'

    hi
    what is the differenec between 'sap list viewer' and 'abap list viewer'

    Hi,
    There is no difference between them.SAP List Viewer (ALV) is the new name of the ABAP List Viewer (ALV).
    The SAP List Viewer unifies and simplifies the use of lists in the R/3 System. A uniform user interface and list format is available for all lists. This prevents redundant functions.
    The SAP List Viewer can be used to view both single-level lists and multilevel sequential lists.
    Single-level lists contain any number of lines that have no hierarchical relationship to each other.
    Multilevel sequential lists consist of any number of lines that have two hierarchical levels. Multilevel lists have header rows and item rows; the item rows are subordinate to the header rows. For each header row there can be any number of subordinate item rows.
    You can view subtotals and totals rows in both single-level lists and multilevel sequential lists
    From End User Point it is SAP LIST viewer , From Developer Point of View it is ALV .
    Check the Below Link
    http://help.sap.com/saphelp_nw04/helpdata/en/66/bc7aab43c211d182b30000e829fbfe/frameset.htm
    Regards,
    Satish

  • Difference between SAP SLD and SAP Management console

    Hello,
    It seems that both System landscape directory and SAP management console have some overlapping features. The services can be started or stopped in both. Is it true? Does anyone know the difference between these 2 and where does Solution manager fit in?
    Thanks
    Shailik

    Hi,
    SAP SLD  is the central information provider in a system landscape.this contains both Component information and Landscape description.COMPONENT Info in sense all the sap products and components along with their versions, And also third party products also.LANDSCAPE desc in sense the description of all the systems in particular landscape.
    Example:This can shows exact idea for you.Components like CAF,Webdynpo(WD-java),BPM etc info.And the host names,Message server ports etc.Here we dont have start/stop functionality.
    SAP MC provides a common framework for centralized system management. It allows you to monitor and perform basic administration tasks on the SAP system centrally, thus simplifying system administration. Using the SAP MC you can
    1.Monitor and control (start, stop, or restart) the SAP system and its instances with a single tool
    2.Monitor system alerts
    3.Display the list of all access points to an SAP system etc.
    We can see difference by looking into http://<host name>:<port>/index.html
    Look and feel are also differ.
    For more info you can go through these links of sap help.
    For SAP SLD:http://help.sap.com/saphelp_nw04/helpdata/en/fe/39ae3d47afd652e10000000a114084/frameset.htm
    For SAP MC:http://help.sap.com/saphelp_nwce10/helpdata/en/44/c707c053550f2ce10000000a1553f7/frameset.htm
    Thanks,
    Murthy.

Maybe you are looking for

  • Stack error in PREPARE_JSPM_QUEUE phase

    Hi all, We are upgrading our Enterprise Portal system SAP NW 7.0 EHP1 to EHP2. We generated the stack XML file through MOPZ whereby we did select EHP2 Stack 9 and started the EHPI. However, it failed in the configuration step in the PREPARE_JSPM_QUEU

  • Click wheel messed up!!

    i just got my "new" ipod mini yesterday, and now my click wheel doesn't work. the menu buttom doen't worked either, and i cant turn up/down the volume. WHATS THE DEAL!

  • Extension gallery add-in

    I have a custom add-in that implements IDTExtensibility2, IDTCommandTarget interfaces. I'm looking in to make it accessible throw visual studio extension gallery and have a few questions: - Can add-ins be installed from the extension gallery? My impr

  • IPhoto/Facebook/Aperture Query

    Hey guys, I know that iPhoto is supposed to two-way sync with Facebook and I'm not going to complain about it (unlike all the other iPhoto-Facebook support threads I've just read through). My question is slightly different... I switched over all my l

  • IPod 5th gen loses settings after reset

    After a reset (menu & select buttons) my iPod video loses settings. Backlight timer, bass boost, shuffle mode, max volume, etc. all go back to default. Battery is fully charged. Is this normal?