Web service and ejp enterprise in JBoss

Is Java a compiled language?
Actually, Java is a compiled/interpreted language. See the links below. This is the best classification for the Java language, in my opinion. Read [_this thread_|http://forums.sun.com/thread.jspa?threadID=5320643&start=0&tstart=0] and give your opinion, too! You are very welcome in this interesting discussion. The more I participate in this forum, the more I learn. The more you participate the more you learn, too! Thank you very much for this forum, Sun!
[_CLDC HotSpot Implementation Architecture Guide Chapter 10_|http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/doc/architecture/html/VFP.html]
+The 1.1.3 release of CLDC HotSpot Implementation included limited VFP support. This feature was supported only when running in interpreted mode. In this release, full vector floating point support is provided when the virtual machine is running in compiled mode.+
[_Java Virtual Machines_|http://java.sun.com/j2se/1.4.2/docs/guide/vm/index.html]
+Adaptive compiler - Applications are launched using a standard interpreter, but the code is then analyzed as it runs to detect performance bottlenecks, or "hot spots". The Java HotSpot VMs compile those performance-critical portions of the code for a boost in performance, while avoiding unnecessary compilation of seldom-used code (most of the program). The Java HotSpot VMs also usesthe adaptive compiler to decide, on the fly, how best to optimize compiled code with techniques such as in-lining. The runtime analysis performed by the compiler allows it to eliminate guesswork in determining which optimizations will yield the largest performance benefit.+
[_CLDC HotSpot Implementation Architecture Guide Chapter 4_|http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/doc/architecture/html/DynamicCompiler.html]
+Two different compilers are contained in the CLDC HotSpot Implementation virtual machine: an adaptive, just-in-time (JIT) compiler and an ahead-of-time compiler. The JIT compiler is an adaptive compiler, because it uses data gathered at runtime to decide which methods to compile. Only the methods that execute most frequently are compiled. The other methods are interpreted by the virtual machine.+
[_Java Tuning White Paper_|http://java.sun.com/performance/reference/whitepapers/tuning.html]
+One of the reasons that it's challenging to measure Java performance is that it changes over time. At startup, the JVM typically spends some time "warming up". Depending on the JVM implementation, it may spend some time in interpreted mode while it is profiled to find the 'hot' methods. When a method gets sufficiently hot, it may be compiled and optimized into native code.+
[_Frequently Asked Questions About the Java HotSpot VM_|http://java.sun.com/docs/hotspot/HotSpotFAQ.html]
+Remember how HotSpot works. It starts by running your program with an interpreter. When it discovers that some method is "hot" -- that is, executed a lot, either because it is called a lot or because it contains loops that loop a lot -- it sends that method off to be compiled. After that one of two things will happen, either the next time the method is called the compiled version will be invoked (instead of the interpreted version) or the currently long running loop will be replaced, while still running, with the compiled method. The latter is known as "on stack replacement", or OSR.+
[_Java Technology Fundamentals Newsletter Index - Making Sense of the Java Classes & Tools: Collection Interfaces, What's New in the Java SE 6 Platform Beta 2, and More_|http://java.sun.com/mailers/newsletters/fundamentals/2006/July06.html]
+Java: A simple, object-oriented, network-savvy, interpreted, robust, secure, architecture neutral, portable, high- performance, multithreaded, dynamic language.+
[_Introduction to scripting in Java, Part 1_|http://www.javaworld.com/javaworld/jw-07-2007/jw-07-awscripting1.html?page=2]
+Many of today's interpreted languages are not interpreted purely. Rather, they use a hybrid compiler-interpreter approach, as shown in Figure 1.3.+
+In this model, the source code is first compiled to some intermediate code (such as Java bytecode), which is then interpreted. This intermediate code is usually designed to be very compact (it has been compressed and optimized). Also, this language is not tied to any specific machine. It is designed for some kind of virtual machine, which could be implemented in software. Basically, the virtual machine represents some kind of processor, whereas this intermediate code (bytecode) could be seen as a machine language for this processor.+
+This hybrid approach is a compromise between pure interpreted and compiled languages, due to the following characteristics:+
Because the bytecode is optimized and compact, interpreting overhead is minimized compared with purely interpreted languages.
The platform independence of interpreted languages is inherited from purely interpreted languages because the intermediate code could be executed on any host with a suitable virtual machine.
Lately, just-in-time compiler technology has been introduced, which allows developers to compile bytecode to machine-specific code to gain performance similar to compiled languages. I mention this technology throughout the book, where applicable.
[_Compiled versus interpreted languages_|http://publib.boulder.ibm.com/infocenter/zoslnctr/v1r7/index.jsp?topic=/com.ibm.zappldev.doc/zappldev_85.html]
Assembler, COBOL, PL/I, C/C++ are all translated by running the source code through a compiler. This results in very efficient code that can be executed any number of times. The overhead for the translation is incurred just once, when the source is compiled; thereafter, it need only be loaded and executed.
Interpreted languages, in contrast, must be parsed, interpreted, and executed each time the program is run, thereby greatly adding to the cost of running the program. For this reason, interpreted programs are usually less efficient than compiled programs.
+Some programming languages, such as REXX and Java, can be either interpreted or compiled.+

Is Java a compiled language?
Actually, Java is a compiled/interpreted language. See the links below. This is the best classification for the Java language, in my opinion. Read [_this thread_|http://forums.sun.com/thread.jspa?threadID=5320643&start=0&tstart=0] and give your opinion, too! You are very welcome in this interesting discussion. The more I participate in this forum, the more I learn. The more you participate the more you learn, too! Thank you very much for this forum, Sun!
[_CLDC HotSpot Implementation Architecture Guide Chapter 10_|http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/doc/architecture/html/VFP.html]
+The 1.1.3 release of CLDC HotSpot Implementation included limited VFP support. This feature was supported only when running in interpreted mode. In this release, full vector floating point support is provided when the virtual machine is running in compiled mode.+
[_Java Virtual Machines_|http://java.sun.com/j2se/1.4.2/docs/guide/vm/index.html]
+Adaptive compiler - Applications are launched using a standard interpreter, but the code is then analyzed as it runs to detect performance bottlenecks, or "hot spots". The Java HotSpot VMs compile those performance-critical portions of the code for a boost in performance, while avoiding unnecessary compilation of seldom-used code (most of the program). The Java HotSpot VMs also usesthe adaptive compiler to decide, on the fly, how best to optimize compiled code with techniques such as in-lining. The runtime analysis performed by the compiler allows it to eliminate guesswork in determining which optimizations will yield the largest performance benefit.+
[_CLDC HotSpot Implementation Architecture Guide Chapter 4_|http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/doc/architecture/html/DynamicCompiler.html]
+Two different compilers are contained in the CLDC HotSpot Implementation virtual machine: an adaptive, just-in-time (JIT) compiler and an ahead-of-time compiler. The JIT compiler is an adaptive compiler, because it uses data gathered at runtime to decide which methods to compile. Only the methods that execute most frequently are compiled. The other methods are interpreted by the virtual machine.+
[_Java Tuning White Paper_|http://java.sun.com/performance/reference/whitepapers/tuning.html]
+One of the reasons that it's challenging to measure Java performance is that it changes over time. At startup, the JVM typically spends some time "warming up". Depending on the JVM implementation, it may spend some time in interpreted mode while it is profiled to find the 'hot' methods. When a method gets sufficiently hot, it may be compiled and optimized into native code.+
[_Frequently Asked Questions About the Java HotSpot VM_|http://java.sun.com/docs/hotspot/HotSpotFAQ.html]
+Remember how HotSpot works. It starts by running your program with an interpreter. When it discovers that some method is "hot" -- that is, executed a lot, either because it is called a lot or because it contains loops that loop a lot -- it sends that method off to be compiled. After that one of two things will happen, either the next time the method is called the compiled version will be invoked (instead of the interpreted version) or the currently long running loop will be replaced, while still running, with the compiled method. The latter is known as "on stack replacement", or OSR.+
[_Java Technology Fundamentals Newsletter Index - Making Sense of the Java Classes & Tools: Collection Interfaces, What's New in the Java SE 6 Platform Beta 2, and More_|http://java.sun.com/mailers/newsletters/fundamentals/2006/July06.html]
+Java: A simple, object-oriented, network-savvy, interpreted, robust, secure, architecture neutral, portable, high- performance, multithreaded, dynamic language.+
[_Introduction to scripting in Java, Part 1_|http://www.javaworld.com/javaworld/jw-07-2007/jw-07-awscripting1.html?page=2]
+Many of today's interpreted languages are not interpreted purely. Rather, they use a hybrid compiler-interpreter approach, as shown in Figure 1.3.+
+In this model, the source code is first compiled to some intermediate code (such as Java bytecode), which is then interpreted. This intermediate code is usually designed to be very compact (it has been compressed and optimized). Also, this language is not tied to any specific machine. It is designed for some kind of virtual machine, which could be implemented in software. Basically, the virtual machine represents some kind of processor, whereas this intermediate code (bytecode) could be seen as a machine language for this processor.+
+This hybrid approach is a compromise between pure interpreted and compiled languages, due to the following characteristics:+
Because the bytecode is optimized and compact, interpreting overhead is minimized compared with purely interpreted languages.
The platform independence of interpreted languages is inherited from purely interpreted languages because the intermediate code could be executed on any host with a suitable virtual machine.
Lately, just-in-time compiler technology has been introduced, which allows developers to compile bytecode to machine-specific code to gain performance similar to compiled languages. I mention this technology throughout the book, where applicable.
[_Compiled versus interpreted languages_|http://publib.boulder.ibm.com/infocenter/zoslnctr/v1r7/index.jsp?topic=/com.ibm.zappldev.doc/zappldev_85.html]
Assembler, COBOL, PL/I, C/C++ are all translated by running the source code through a compiler. This results in very efficient code that can be executed any number of times. The overhead for the translation is incurred just once, when the source is compiled; thereafter, it need only be loaded and executed.
Interpreted languages, in contrast, must be parsed, interpreted, and executed each time the program is run, thereby greatly adding to the cost of running the program. For this reason, interpreted programs are usually less efficient than compiled programs.
+Some programming languages, such as REXX and Java, can be either interpreted or compiled.+

Similar Messages

  • Difference between  a WEB service and a Enterprise Service?

    Can Anybody explain me the difference between  a WEB service and a Enterprise Service?

    Hi Anilkumar K Naidu ,
    Web service
    A Web service is a self-contained, modularized functionality, which can be published, discovered, and accessed across a network using open standards and which is supported by SAP NetWeaver. Web services cover services provision for integration within an enterprise as well as cross enterprises on top of any communication technology stack, whether asynchronous or synchronous, in any format. 
    Web Services in the NetWeaver framework play an important role in facilitating the integration of disparate applications from various departments or trading partners and thus increasing business productivity. This benefit allows small and medium businesses also to integrate their business applications with larger trading partners. The benefit derived from this seamless integration introduces security concerns when all the business logic is now being exposed through a standard interface that is a catalyst for security vulnerabilities. SAP Security Managers must use automated diagnostics tools to ensure that the security vulnerabilities are caught in pre-production and in post-production phase.
    Web Services Testing: SAP Netweaver Platform
    http://www.crosschecknet.com/web_services_testing_SAP.php
    How Web services play a key role on the SAP NetWeaver
    http://www.sap.info/public/INT/int/index/Category-28943c61b1e60d84b-int/0/articlesVersions-500244687cbd30ffd
    How to develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    How To... Set Up a Web-Service Related Scenario with SAP xi
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
    Enhancing Your Web Services with SAP Exchange Infrastructure
    http://www.sappro.com/downloads/SAPXI.pdf
    Web Services, Part XI: Consuming Multiple Web Services
    http://www.webreference.com/js/column106/
    Vulneribility assesment of SAP Web Services
    http://www.crosschecknet.com/resources/white_papers/sap_va.pdf
    Enterprise Service
    Enterprise Service-Oriented Architecture (Enterprise SOA)
    Enterprise SOA is a blueprint for an adaptable, flexible, and open IT architecture for developing services-based, enterprise-scale business solutions. With SAP NetWeaver as a technical foundation, enterprise SOA moves IT architectures to higher levels of adaptability – and moves companies closer to the vision of real-time enterprises by elevating Web services to an enterprise level.
    An enterprise service is typically a series of Web services combined with business logic that can be accessed and used repeatedly to support a particular business process. Aggregating Web services into business-level enterprise services provides a more meaningful foundation for the task of automating enterprise-scale business scenarios.
    SAP Enterprise Services Architecture
    http://en.wikipedia.org/wiki/SAP_Enterprise_Services_Architecture
    ENTERPRISE SERVICEORIENTED ARCHITECTURE – DESIGN,  EVELOPMENT,AND DEPLOYMENT
    http://download.sap.com/platform/esoa/brochures/download.epd?context=FB8D5E235B637255604CD1EDB755014400C523BC4E4632245A59C838A212B5F04C71A43F8B38FC591628F4C698D8CAA859405AA974284758
    Enabling Enterprise Services
    http://help.sap.com/saphelp_nw04s/helpdata/en/80/be7042f1e6d242e10000000a1550b0/content.htm
    Enterprise Service-Oriented Architecture
    https://www.sdn.sap.com/irj/sdn/enterprisesoa
    Define Enterprise Services using the Enterprise Services Community
    https://www.sdn.sap.com/irj/sdn/define-es
    Enterprise service bus
    http://en.wikipedia.org/wiki/Enterprise_service_bus
    Enterprise Services Workplace
    http://erp.esworkplace.sap.com/socoview(bD1lbiZjPTgwMCZkPW1pbg==)/flddisplay.asp
    cheers!
    gyanaraj
    ****Pls reward points if u find this helpful

  • Unable to deploy a war(includes web services)packaged into EAR on jboss 5.0

    I am new to web services and wanted to develop one
    I used the following softwares / IDE
    Eclipse 3.4.2
    Apache Ant 1.7
    Jboss AS 5.0.1
    JBoss ws 2.0
    jbossws-native-bin-dist 3.2.1GA
    sun jdk 1.6.0_12
    So i started off quite well configuring all that is required to create a web service
    i took the help of eclipse ide tools like create web service and create web service clients.
    when i created the web project in eclipse i selected the option add project to ear.
    and finally i start the jboss server with in eclipse and add project the ear file that contains the war file.
    just when i thought all is fine the server throws an error
    13:01:52,929 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/ state=PreReal mode=Manual requiredState=Real
    org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/TempWs.war/
    I have searched jira to find a solution for this , but i think i couldnt find an appropriate solution
    I am not sure if the search critirea i entered was close to the issue.
    The log pasted below is the one when i start jboss from with in eclipse .
    13:01:52,929 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/ state=PreReal mode=Manual requiredState=Real
    org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/TempWs.war/
    at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.NoSuchMethodError: org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit.getMetaDataFiles(Lorg/jboss/virtual/VirtualFileFilter;)Ljava/util/List;
    at org.jboss.webservices.integration.deployers.deployment.AbstractDeploymentModelBuilder.newDeployment(AbstractDeploymentModelBuilder.java:119)
    at org.jboss.webservices.integration.deployers.deployment.AbstractDeploymentModelBuilder.newDeploymentModel(AbstractDeploymentModelBuilder.java:62)
    at org.jboss.webservices.integration.deployers.deployment.WSDeploymentBuilder.build(WSDeploymentBuilder.java:82)
    at org.jboss.webservices.integration.deployers.WSDeploymentDeployer.internalDeploy(WSDeploymentDeployer.java:66)
    at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
    ... 24 more
    13:01:52,945 WARN [HDScanner] Failed to process changes
    org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
    DEPLOYMENTS IN ERROR:
    Deployment "vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/" is in error due to the following reason(s): java.lang.NoSuchMethodError: org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit.getMetaDataFiles(Lorg/jboss/virtual/VirtualFileFilter;)Ljava/util/List;
    at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:863)
    at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:806)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:293)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Please help.

    When you say:
    I then copied the 10.1.3 Standalone OC4J to the Solaris 5.9 box which already has JDK 1.5 Update 12 installed. We extracted the OC4J to its own directory , set the Java_Home and the Oracle_Home environment variables and were able to
    startup the OC4J instance.
    We had some issues when extracting OC4J to its directory but there were no errors displayed on the screen ... Only when we tried starting up the OC4J instance , it started complaining about missing XML files .. This was resolved by manually extracting the XML's from the corresponding jars and placing them in the proper directories ..
    It sounds like you have some funky issues there with those missing XML files -- that is not expected or normal.
    Do you mean you copied the same oc4j_extended.zip to the server and unzipped it, or you zipped up the directories you were using on the Windows box, copied that over, and unzipped it?
    I don't know of any problems with Solaris, JDK5, U12.
    What about if you do this to remove any issues with the remote copy aspect of the deployment.
    1. Stop OC4J.
    2. Manually copy CISS.ear to /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/
    3. Edit the j2ee/home/config/server.xml file and add the entry to deploy the application
    4. Edit the j2ee/home/config/default-web-site.xml and bind any web-modules you need.
    5. Start the server and see what happens -- the application should be deployed.
    Also, what happens if you use the $JAVA_HOME/bin/jar to try and view the contents of the CISS.ear file?
    -steve-

  • How to connect to external web service and convert XML to a table

    Hi experts,
      I need to connect to external/non-SAP web service and convert XML in that site to a SAP table?
    Is there a function call(SE37) to do this? Is it a must for me to install AS JAVA or PI and configure enterprise service? Please provide a link for me to retrieve relevant infomation, thx.

    No, you don't need PI or the Java stack for this.  You can create an ABAP proxy using the WSDL file for the web service and call the web service using the proxy class in an ABAP program.  You can transform the XML response to internal tables/structures/variables using a transformation template that you create.

  • Web Service vs. Enterprise Service

    Hi all,
    what is the difference between this two things. I have built a web service on my own. But what is an enterprise service?
    And what is the difference between the UDDI for web services and the ESR??
    regards

    God, these answers are killing SOA concepts
    Registry is a UDDI based framework to hold a service specification if the services are build using web service technology.
    A UDDI entity just represent the metadata of a service, it do not matter whether it is a specific type of services.
    Even SAP support Systinet Enterprise registry, so you guys are telling me that Systinet only support enterprise service???.
    Service is cataloged based on the service Taxonomy
    Service taxonomy are in two type
    1. Horizontal
    2. Vertical
    In horizontal taxonomy we categorize services as
    1. Infrastructure services
    2. Application Services
    Infrastructure services are further divided into
    1.     Utility services
    2.     Communication Services
    Application Services are further divided into
    1.     Entity Services
    2.     Activity Services
    3.     Capability Services
    4.     Process Services
    A process service is composed of any of the other services in service taxonomy
    In Vertical Taxonomy of services
    We divide a business or organization’s major business process as followed
    1.     Major processes
    a.     Such as Product manufacturing
    b.     Supply Chain
    2.     Supporting Processes
    a.     HR
    b.     Banking
    3.     Integration Process
    a.     Business Services (in technical term  BPM, BPEL)
    A business requirement such as
    1. Order to Cash
    Order Fulfillment etc are composed of business actions from major and supporting business process of an organization. It is connected using integration process in vertical taxonomy.
    Integration Process do have nodes which can have same semantics as process service in horizontal taxonomy, this connect both taxonomy
    If a service is based on vertical taxonomy and composed of horizontal services then it is called an enterprise service, cuz it address an enterprise wide concern
    If a service is just for a supporting purpose and it is just based on any horizontal services it is not an enterprise service.
    Finally what is service?
    It is an entity which is designed based on SOA principles and have re-usability as the fundamental nature
    What is web service?
    It is just a technology used to implement services
    Hope this answer clear
    Finally, please do not try to learn SOA from just a tool perspective or a technology perspective
    Thanks

  • Web services and wsdl for beginners

    Hi, I wonder if someone could help me, I need a guide on how to create, consume and publish web services and wsdl in jboss for beginners, using the tools of eclipse or netbeans.
    Thank you very much

    My intention is to create web services to consume from PDF forms, I thought it was the right way from eclipse, this is good practice or is there a better way?
    Thanks.

  • Web Services and JHS

    My company is exploring the use of JHeadstart and we are very impressed with its capabilities. The enterprise environment into which our system will be deployed requires separation between the View Layer, and the Model Layer, with a SOAP-based messaging agent as the go-between (it's MQ series-based). We have been able to get a prototype plain-old UIX application to work where we deploy the Application Module in the Model project as a web service, and then create a data control from the stub to consume in the UIX ViewController project. We can then simply drag and drop the Web Service call result sets onto the UIX pages. However, when trying to do this with JHeadstart, the Wizard for creating Application Structure Files requests an Application Module on one of the first screens. In our environment, we won't be able to allow the ViewController project to see the Model project. Is there any way to use a web service instead of the Application Module? If not, is there any plan to support this type of activity in a future JHS release?
    Thanks in advance,
    Dan Schiff

    Dan,
    Currently JHeadstart only supports ADF Business Components as the Business Service layer (directly accessed, not through a Web Service wrapper). As you found out, ADF supports other Business Services as well, not only Web Services but also TopLink, EJB, etc.
    JHeadstart is primarily intended for data manipulation (select, insert, update, delete) and our philosophy is that that type of functionality (that part of your application) is most efficiently handled directly by ADF Business Components. Also, this is the most productive technique for application developers. Of course, the end result of generating an application with JHeadstart is that you have a "normal" ADF application, to which you can add Web Service functionality with the normal JDeveloper visual editors and drag-and-drop features.
    So you could generate efficient data manipulation screens using JHeadstart and direct ADF Business Components, and then add interoperability with other Business Services to your application using Web Services. The latter part is not JHeadstart-generated.
    The next JHeadstart release (10.1.3) will be focused on supporting JSF (JavaServer Faces). We are also looking into support for other Business Services like TopLink, but we don't have any schedule for that yet.
    kind regards,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • Query as a Web Service and In List

    Hi,
    Here is my scenario (Xcelsius 2008 Enterprise SP2):
    - List builder object which returns multiple values
    I want to use those values to filter a Query as a Web Service data connection (to BW based universe). How is that possible?
    My web service contains a Filter defined as <Dimension> In List <Prompt>
    I have tried the following:
    1) Selected multiple rows in the Input Values/Read From section of the connection
    2) Tried to concatenate the individual values using ; and , and then passing the concatenated values to the Read From section of the connection (as one cell)
    1) works fine as long as I just select one value, but when I select multiple values, only the first one is used to filter the QaaWS
    2) Does not work
    Any ideas/suggestion on how to solve this?
    Thanks in advance,
    Jacob

    Hello David,
    I tried this feature of BI Services through WebI Rich Client. But I am having problem with sending values for Prompts using Xceslius. Below is the procedure I followed in developing a report and using BI web service to connect to Xcelsius.
    1) Build a report in Web Intelligence rich client along with Query filters (Inlist, Optional Prompts).
    2) Activate BI Service and publish the block after exporting the file.
    3) Use the WSDL URL to connect to Xcelsius from Data Connection (Add as Query As Web Service and Import it).
    4) Method: Get_ReportBlock_<Block name>,
        set input values <Enter_value_s_for_prompt>
            i) Valueofprompt (bind to single values, hard coded)
           ii) Index (leave blank, not binded)
    5) set <refresh> as 1 (or true) and <getfromlatestdocumentinstance> as 0 (false)
    6) Bind the output values to excel and pull a scorecard component to view the data.
    7) Preview the dashboard and now I get this error
                    Cannot Access external Data: String index out of range: -1
    When I remove both the values inserted in step 5, I get complete data (prompt is not applied). I also have a doubt whether I can pass multiple values for the prompt without using + sign to duplicate the Prompt.
    From some of the previous posts I came to know about Value formatting compatibility issue between BI Services and Xcelsius. Which is addressed with two fix packs
    1) XI 3.1 SP2.5 (available since last March) for WebIntelligence Rich Client & BI Services, and
    2) Xcelsius 2008 SP3.1 (available since last April).
    Are these the up to date Fix packs available and will they solve my problem?
    Where can I download them from (SAP Market place)? or from our SAP service consultant?

  • Diff b/w Web service and window service

    What is the difference between web service and window service, whether the both are same or not, Give some explain about that each one and give some examples also.

    An XML Web service is a component that implements program
    logic and provides functionality for diseparate
    applications. These applications use standard protocols,
    such as HTTP, XML, and SOAP, to access the functionality.
    XML Web services use XML-based messaging to send and
    receive data, which enables heterogeneous applications to
    interoperate with each other. You can use XML Web services
    to integrate applications that are written in different
    programming languages and deployed on different platforms.
    In addition, you can deploy XML Web services within an
    intranet as well as on the Internet. While the Internet
    brings users closer to organizations, XML Web services
    allow organizations to integrate their applications.
    A Windows service starts much before any user logs in to
    the system (if it has been setup to start at boot up
    process). A Windows service can also be setup in such a way
    that it requires a user to start it manually ? the ultimate
    customization!
    Windows services run as background processes. These
    applications do not have a user interface, which makes them
    ideal for tasks that do not require any user interaction.
    You can install a Windows service on any server or computer
    that is running Windows 2000, Windows XP, or Windows NT.
    You can also specify a Windows service to run in the
    security context of a specific user account that is
    different from the logged on user account or the default
    computer account. For example, you can create a Windows
    service to monitor performance counter data and react to
    threshold values in a database.

  • Pl/Sql web service and collections not working

    Hello
    I'm trying to create a web service from a function in a package which returns a collection. The creation of the web service and its deployment seem to work correctly. I do get the following warning :
    WARNING: OWS-00077 The Value Type class: pxWsLang.PamLanguagerecordBase does not have a valid JAVA Bean pattern
    but I don't think this is the source of the problem.
    When I try to test the web service using the endpoint in the wsdl I get the following answer in the browser:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:Server</faultcode><faultstring>Error creating target: pxWsLang.WsLangUser</faultstring><faultactor></faultactor></env:Fault></env:Body></env:Envelope>
    In the DOS window for the OC4J I get the following error :
    2006-11-15 09:21:25.852 ERROR OWS-04005 An error occurred for port: {http://pxWs
    Lang/WsLang.wsdl}wsLangSoapHttpPort: javax.xml.rpc.JAXRPCException: Error creati
    ng target: pxWsLang.WsLangUser.
    The PL/SQL code is as follows :
    Object:
    CREATE OR REPLACE TYPE PAM_LanguageRecord as OBJECT
    NR NUMBER(3),
    SYMBOL VARCHAR2(2)
    Collection:
    CREATE OR REPLACE Type PAM_LanguageTable as Table of PAM_LanguageRecord;
    Package body :
    create or replace package body PAM_TEST is
    function CursorTest return Pam_LanguageTable is
    Res_LangTable PAM_LanguageTable;
    cursor cur is select * from stc_languages;
    begin
    Res_LangTable := new PAM_LanguageTable();
    for Rec in cur loop
    Res_LangTable.Extend(1);
    Res_LangTable(cur%ROWCOUNT) := new PAM_LanguageRecord
    (Rec.NR,
    Rec.SYMBOL
    end loop;
    Return Res_LangTable;
    end;
    end;
    I'm using JDeveloper version 10.1.3.1.0.3984
    How can I get this to work ? (without using Apache Axis or other tools :-)
    Is it supposed to work ?
    Many Thanks
    Paul

    Hi,
    for the "error creating target" problem I found the solution here:
    [WS from a PL/SQL package]: Error creating target
    Hope this helps.
    Regards,
    Patrik

  • Web service and servlets in the same project...web.xml?

    Hello, I have a problem with my web service.
    I have a server, which displays a web service. I programmed this service with JAXRPC.
    I have a client, in another directory. I succeded in compiling, deploying and running the web service.
    The problem is that after I tried to integrate this service in an existing project. This project contains servlets. In these servlets, I'm using sessions.
    These servlets are on the same side as the server of the web service. Because of the implementation of my code, I'd like to use in the class that represents the server of the service, the same session as the one I'm using in the servlets.
    But of course, it's not working by itself. I know there's something to do with the web.xml files.
    The thing is that I created a web.xml file for the service, and another for the servlets.
    I was thinking of joining both of them in one xml file, but everything crashes then...
    Could someone tell me how to create a project with a web service and servlets, and mostly how to configure the xml file??
    Thanks for any help
    Philippe

    Hello, I have a problem with my web service.
    I have a server, which displays a web service. I programmed this service with JAXRPC.
    I have a client, in another directory. I succeded in compiling, deploying and running the web service.
    The problem is that after I tried to integrate this service in an existing project. This project contains servlets. In these servlets, I'm using sessions.
    These servlets are on the same side as the server of the web service. Because of the implementation of my code, I'd like to use in the class that represents the server of the service, the same session as the one I'm using in the servlets.
    But of course, it's not working by itself. I know there's something to do with the web.xml files.
    The thing is that I created a web.xml file for the service, and another for the servlets.
    I was thinking of joining both of them in one xml file, but everything crashes then...
    Could someone tell me how to create a project with a web service and servlets, and mostly how to configure the xml file??
    Thanks for any help
    Philippe

  • Quick questions on the topic of Web Services and EJB POJOs

    I have been reading about Web Services and the data types that are aloud as operation parameters and return types. I was wondering what the standard practice for return types; is it to use the Entity classes straight and customize the WSDL instead of letting the EE container do it (avoid cyclic problems in the schema that can occur when using entity 1-to-many and many-to-1 mappings) or; is it to off load the data into a DTO/VO/Bean and let the EE container take care of all the schema mapping for the WSDL? I look at the EE tutorial and bought a EE book both use very basic examples that do not include connecting to a database or using EJB3 for the data store.
    Thanks for any information

    bump

  • ASMX web service and The remote server returned an error: (500) Internal Server Error issue

    i have developed a very small web service and which is hosted along with our web site. our webservice url is
    http://www.bba-reman.com/Search/SearchDataIndex.asmx
    web service code
    namespace WebSearchIndex
    #region SearchDataIndex
    /// <summary>
    /// SearchDataIndex is web service which will call function exist in another library for part data indexing
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
    // [System.Web.Script.Services.ScriptService]
    public class SearchDataIndex : System.Web.Services.WebService
    //public AuthHeader ServiceAuth=null;
    public class AuthHeader : SoapHeader
    public string Username;
    public string Password;
    #region StartIndex
    /// <summary>
    /// this function will invoke CreateIndex function of SiteSearch module to reindex the data
    /// </summary>
    [WebMethod]
    public string StartIndex(AuthHeader auth)
    string strRetVal = "";
    if (auth.Username == "Admin" && auth.Password == "Admin")
    strRetVal = SiteSearch.CreateIndex(false);
    else
    SoapException se = new SoapException("Failed : Invalid credentials",
    SoapException.ClientFaultCode,Context.Request.Url.AbsoluteUri,new Exception("Invalid credentials"));
    throw se;
    return strRetVal;
    #endregion
    #endregion
    when i was calling that web service from my win apps using
    HttpWebRequest
    class then getting error The remote server returned an error: (500) Internal Server Error
    here is code of my win apps from where i am calling web service
    string strXml = "";
    strXml = "<s:Envelope xmlns:s='http://schemas.xmlsoap.org/soap/envelope/'><s:Body><StartIndex xmlns='http://tempuri.org/' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'><auth><Username>joy</Username><Password>joy</Password></auth></StartIndex></s:Body></s:Envelope>";
    string url = "http://www.bba-reman.com/Search/SearchDataIndex.asmx";
    HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
    req.Method = "POST";
    req.ContentType = "text/xml";
    req.KeepAlive = false;
    req.ContentLength = strXml.Length;
    StreamWriter streamOut = new StreamWriter(req.GetRequestStream(), System.Text.Encoding.ASCII);
    streamOut.Write(strXml);
    streamOut.Close();
    StreamReader streamIn = new StreamReader(req.GetResponse().GetResponseStream());
    string strResponse = streamIn.ReadToEnd();
    streamIn.Close();
    i am just not being able to understand when this line execute
    StreamReader streamIn = new StreamReader(req.GetResponse().GetResponseStream());
    then getting the error The remote server returned an error: (500) Internal Server Error
    not being able to understand where i made the mistake. mistake is in the code of web service end or in calling code?
    help me to fix this issue. thanks

    Hi Mou,
    I just tried your win app code about calling web service, but failed. I got the 500 error after I called your service:
    The error message I quoted from Fiddler:
    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>System.Web.Services.Protocols.SoapException: Failed : Invalid credentials ---&gt; System.Exception: Invalid credentials
    --- End of inner exception stack trace ---
    at BBAReman.WebSearchIndex.SearchDataIndex.StartIndex(AuthHeader auth)</faultstring><faultactor>http://www.bba-reman.com/Search/SearchDataIndex.asmx</faultactor><detail /></soap:Fault></soap:Body></soap:Envelope>
    I am not totally sure that error occurred by the authentication. But I suggest you can try to add this service into your project using this method below:
    1.right click the Reference and select Add Service Reference
    2.input your service link and click "Go"
    And you can use this service as the following:
    private async void callService()
    ServiceReference1.SearchDataIndexSoapClient client =new ServiceReference1.SearchDataIndexSoapClient();
    var Str= await client.StartIndexAsync(new ServiceReference1.AuthHeader { Username = "Admin", Password = "Admin" });
    Please try it.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SQL Server 2008 Reporting Project - Invoke/Consume Web Service and Return Dataset in C# Code-Behind

    Hello,
    I have a Visual Studio 2010 C# class with a method that invokes/consumes a web service and returns an XML dataset. I am traversing through the parent/child nodes and parsing out the data then inserting it into a SQL Server 2008 R2 table for a join within
    another stored procedure. 
    Instead of using a 3rd party API to generate the PDF for this data, I am creating an SSRS report. The formatting will be easier and I can do a RenderFormat directly to PDF.
    Can I expect to be able to transfer the code-behind method to this report and have it be able to work with the web service the same way? It is a SOAP-based web service returning parent nodes and two levels of nested child nodes.
    I have also been researching the approach of calling the web service in the same stored procedure that is currently querying the physical tables (which is used to populate a gridview and PDF) but it looks like it may only be possible with a CLR stored procedure.
    Is it possible to implement a CLR stored procedure within an SSRS report? 
    Hope this makes sense. Any help, suggestion or point in the right direction would be greatly appreciated.
    Thanks,
    Buster

    Hi Buster,
    SSRS supports web service data source, we can call the SOAP-based web service in SSRS report directly. Then, we can use custom code in SSRS to parse the XML data. However, we won’t be able to join another data in SQL Server database.
    Reference:http://technet.microsoft.com/en-us/library/aa964129(v=sql.90).aspx#repservxmlds_topic3
    We cannot implement a CLR stored procedure within an SSRS report directly. In order to execute the CLR store procedure in a SSRS report, we have to execute it as text using the following code:
    Exec <stored procedure name>
    Reference:
    http://dotnetslackers.com/Community/blogs/bmains/archive/2009/01/15/executing-a-clr-stored-procedure-in-reporting-services.aspx
    Hope this helps.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Web services and control characters

    Hi,
    We are using JAXWS and JAXB to create web services. We have a problem with our current data because it sometimes contains "bad" characters, such as control characters. Is there a nice way for us to remove these characters when creating the messages or when retrieving the data from the database? We use java persistence / hibernate to retrieve the data from the database.
    I would prefer a method that doesn't include having to "clean" each string manually...
    Thanks!

    hi, i�m doing something like you but in jbuilder that is another IDE, i don�t know if it is useful for you but i entered to the help of jbuilder and i wrote in the index "web services" and then i found a topic called : "export classes as webservices" and in that place i can see some steps to follow, may be in eclipse you can find something like this.

Maybe you are looking for

  • SQL developer 1.5 - loading taking very long and memory comsuption is huge

    hi is ther anyway to do a clean uninstallation i have 1.2 running its fine. but i run 1.5 without uninstalling 1.2 and i realise 1.5 take alonger time to connect to the database, this is still ok. BUT it takes too too much time to load up the procedu

  • How to resend an email - without putting in the email address again

    just need to know this simple action

  • Nokia N8 update... need your help

    Hi! I'm new here Let me start by saying that I'm new to all of these Nokia tech stuff I've just installed the Nokia Ovi Suite on my computer , and I can see that there is an update available for my phone. The update info is: version 025.007 These are

  • PreparedStatement for Boolean type

    hello guys, I have a form whose values I need to insert into a MS Access database. I am doing this with the use of <jsp:usebean> tag, I have also defined a bean and compiled it into a class. The problem I am facing is that in my form I have a display

  • Refreshing an UIX page

    Does anybody know how to explicitly for an refresh on a UIX page. The problem that I have now is that only after I some where did a rollback, the page is displayed correctly. Before the rollback, the page shows one table updated and one table still i