Difference Between Compositions and Aggregations in Java

Sharon Christine
Updated on 30-Jul-2019 22:30:20

241 Views

In Aggregation relationship among classes by which a class (object) can be made up of any combination of objects of other classes. It allows objects to be placed directly within the body of other classes.A composition is also a type of aggregation where the relationship is restrictive i.e. If two objects are in composition, the composed object will not exist without the other.

Count Characters Including Spaces in a Text File Using Java

George John
Updated on 30-Jul-2019 22:30:20

710 Views

To count the number of lines in a file Instantiate the FileInputStream class by passing an object of the required file as parameter to its constructor. Read the contents of the file to a byte array using the read() method of FileInputStream class. Instantiate a String class by passing the byte array obtained, as a parameter its constructor. Finally, find the length of the string. Example import java.io.File; import java.io.FileInputStream; public class NumberOfCharacters { public static void main(String args[]) throws Exception{ File file = new File("data"); FileInputStream ... Read More

Generate Database Diagram within SAP

varun
Updated on 30-Jul-2019 22:30:20

931 Views

Generating the database diagram completely as generated in SQL server or other DBMS is not possible over here. But there are couples of ways that can be of small help in your case. Firstly, you can refer to Object Model guide present in the SAP market place. This guide will explain you the most common relations between the most popular and common business objects It does not cover each and every bit of the database but the most common bad highly usage one are covered. Secondly, if required you can generate diagram of a single table by displaying it in ABAP transaction ... Read More

Edit ABAP Program Using Transaction SE93 and SE80

George John
Updated on 30-Jul-2019 22:30:20

1K+ Views

You need to go to SE93 and input your Transaction code. It will display program name behind your transaction code. You can edit the programs using SE80 and SE38.  Below shows Transaction code: SE93 Following shows Transaction Code SE80 to edit an ABAP program by opening ABAP Development workbench: Following shows Transaction Code SE38 to edit an ABAP program by opening ABAP Editor Initial screen and to enter the name of Program −

Integrate Magento with SAP ECC System

V Jyothi
Updated on 30-Jul-2019 22:30:20

210 Views

With the integration of SAP ERP with Magneto, you can perform bidirectional communication of orders, sales, and other business data. To check if there is an existing connector, you can reach to SAP support. There are various other vendors in the market who provides ERP-Magneto integration.Integration of ERP-Magneto provides benefit like flexibility, data synchronization, reliability, and security.You can try this link- https://ecommerce.aheadworks.com/magento-extensions/erp-integration.htmlThis says that with some customization, you can integrate your ERP solution with Magneto. For integration, your ERP provider has to implement the option to read/write the required files/data to/from the ERP system. For any ERP software integration, it ... Read More

What is an Ant Build in Java

Abhinanda Shri
Updated on 30-Jul-2019 22:30:20

981 Views

ANT stands for Another Neat Tool. It is a Java-based build tool from Apache.Ant is used to simplify the mundane tasks such as compiling the code, packaging the binaries, deploying the binaries to the test server, testing the changes, copying the code from one location to another etc. It is an Operating System build and deployment tool that can be executed from the command line.

Insert Array to Table in SAP HANA Database

Arushi
Updated on 30-Jul-2019 22:30:20

775 Views

As far as I know, there is no direct way of inserting an Array using SQL query. You will first have to combine the columns (EMPL_Id + Skill Id) using the code and then do a bulk insert to the database.

Use Existing Authentication with SAP BO

usharani
Updated on 30-Jul-2019 22:30:20

173 Views

It is one of the most common extension points in an existing ecosystem. With the latest release of BO, you can use active directory based logins mapped under windows server.

Difference Between Java SE, Java EE, and Java ME

mkotla
Updated on 30-Jul-2019 22:30:20

2K+ Views

Java provides three editions JSE, JEE, JME. JSE − Java Standard Edition using this, you can develop stand-alone applications. This provides the following packages − java.lang − This package provides the language basics. java.util − This package provides classes and interfaces (API’s) related to collection framework, events, data structure and other utility classes such as date. java.io − This package provides classes and interfaces for file operations, and other input and output operations. java.math − This package provides classes and interfaces for multiprecision arithmetics. java.nio − This package provides classes and interfaces the Non-blocking I/O framework for Java java.net ... Read More

What are Annotations in Java

karthikeya Boyini
Updated on 30-Jul-2019 22:30:20

868 Views

Annotations are a tag (metadata) which provides info about a program. Annotations in Java Start with the symbol ‘@’. They are used by the compiler to detect errors. Software tools to generate code. They are used to show attributes of an element: e.g. @Deprecated, @Override. Annotation are used to describe the purpose of an element of the framework, e.g. @Entity, @TestCase, @WebService Annotations describe the behaviour of an element: @Statefull, @Transaction. Example Live Demo class Sample{ public void display(){ System.out.println(" "); } } public ... Read More

Advertisements