`
wodamazi
  • 浏览: 1414202 次
文章分类
社区版块
存档分类
最新评论

成为SAP开发的ABAP/Java双语者

 
阅读更多

作者:Matt Danielsson(searchSAP.com) 翻译:冯强 2003.11.21

原文链接:http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci798543,00.html

AMT译文链接:http://www.amteam.org/docs/BDDocument.asp?Action=VIEW&ID=%7B83F74254%2D134B%2D4DD3%2DA415%2D85A97025FF9B%7D

译者:Java在Oracle ERP软件上的成功,客户跨平台和集成电子商务的需求,都对SAP公司C/S构架的R3提出了挑战。SAP R3到4.6D版本提供了很多优秀的接口(RFC、BAPI、IDOC等),也有分布式Java Gui客户端解决方案,但全面支持Java,已是SAP开发者和领导层不得不考虑的问题。也许,当全新的SAP R3 5.0版发布时,将给业界一个惊喜。下面的短文,对业界顾问、开发人员和ERP厂商也许有一点参考价值。

从一开始,ABAP似乎是SAP开发唯一可选择的语言。

这一切在11月(2001年11月-译者注)得到改观,SAP公司和副Hasso Plattnert先生张开怀抱,宣布Java将成为SAP的第二开发语言。从此以后,SAP所有的产品都将遵循Java的技术标准,也就是说,现在你可以选择用何种语言进行SAP的开发。

那么哪一个开发语言更适合工作呢?业内的ABAP开发人员有必要再多掌握Java语言吗?Java,或者J2EE是很特别的,从技术上看比ABAP更有优势。但这并不是说曾经风光的ABAP语言已经落后或需要出局了。实际上,两种语言各有短长,这是勿庸质疑的。

哪个开发工具更适合工作?

Karl Kessler(SAP商业开发语言和构架经理)认为如果将来一切都放在Web上,那Java无疑是老大。他说,很显然SAP的选择是为了在Java上运行Web用户接口。按Axel Kratel(Borland公司Java商业应用产品经理)的说法,Java的强大在于它的开放性。它的一些自由开发社团多年来的努力,保证着Java技术的持续改进和领先,使Java的前途一片光明。Java的执行效率常常是被攻击的要害,但新的版本无疑在这方面有了长足的进步。

“Java已被证明了,是易于移植的开发平台”,Kratel如是说,“它提供了强大的跨平台能力,从企业开发到移动应用都有它的身影。现在,Java不仅仅应用于Web。”

ABAP,另一方面也是非常成熟和稳定的综合开发平台,Kessler说。ABAP受益于强劲的后台服务器支持,还有它良好的数据库编程性能,ABAP的优势还在于它强大的性能和轻巧简洁。ABAP显然并不没有日落西山。

以一个开发人员的角度看,Java和ABAP有很多相似之处,Kessler说。它们都面向对象,都可以被编译成字节码,都应用于企业开发服务。

它们的区别在于,ABAP有更多的4GL(第四代语言)数据库编程的功能,而Java则没有。另一方面,ABAP只能运行于服务器端,而Java除此以外也可运行于客户端。还有,ABAP的语法是关键字导向的(类似于Cobol),Java的语法则更象C。

最好掌握两种语言!

和生命中其它事情一样,有选择就好。懂两种开发语言可以让你根据手中的任务,选择最适合工作的工具。在很多开发案例里,并用开发是相当不错的,但结果取决于开发者的偏好。

Kessler相信,职业背景决定了你选择开发语言的偏好。

“如果你是计算机科学家,你可能更喜欢Java,”他说,“如果你是从医师转行做开发,ABAP可以让你更快的上手。”

学习Java。

如果你已经了解ABAP,是不是转入Java很容易呢?显而易见,无论你学何种新语言,你以前编程的经验都将发挥作用。特别在ABAP开发者转学Java这点上,将更容易些。

“SAP多次在介绍ABAP概念的课程中强调ABAP和Java的相似性,” Kratel说到。

举个例子,先从学习ABAP的面向对象概念入手,比如学习ABAP类、接口、例外等等,然后再学习Java的语法,比较两者之不同,Kessler如是说。这两种语言非常相似(感觉有点言过其实—译者注),理解你已知的和你要学的知识的内在关联,会加速你的学习进度。

Kratel认为开始学习Java的最好方法,是充分利用强大的互联网,那儿有大量的文章、指南和有用的小程序帮助你开始学习。

Java相对其它高级开发语言是比较容易学习掌握的(Kratel可能指Java语法相对C++而言吧—译者注)。也就是说,Java天生的强大和灵活性使它成为值得去掌握的复杂开发平台。学习的过程,就是经验的积累,需要很多很多的经验。幸运的是,有IBM Robocode这样的在线辅助学习系统寓教于乐,让学习者轻松地提高技巧。如果你希望迅速开始开发,Borland公司的JBuilder个人版不仅免费,而且对学习Java开发很有帮助。

没有什么理由不赶快行动起来,至少应把熟悉Java编程基础知识做为学习的一个方向。

“Java是外面每个独立开发者的兴趣所在,”Kratel谈到,“如果你将来准备在SAP的体系下做开发,同时掌握ABAP和Java双语,将是你最好的装备。”

原文:

Becoming ABAP/Java bilingual

By Matt Danielsson, Assistant Site Editor
24 Jan 2002,

Since the dawn of time, it seems, ABAP was THE programming language for SAP developers.

That all changed in November, when cochairman Hasso Plattner and SAP opened their arms to Java and announced that SAP would become bi-lingual. Going forward, all SAP products will adhere to strict standardization, meaning that you can now choose which language to use based on personal preference.

So which tool is best for which job, and should a current ABAP developer spend the time and energy to become ABAP/Java bi-lingual? Java, or Java 2 Enterprise Edition (J2EE) to be specific, has certain advantages over ABAP. But that is not to say that good old ABAP is down and out. In fact, both languages have their own sets of pros and cons, as is to be expected.

Which tool for the job?

Karl Kessler, product manager of business programming languages and framework at SAP, concludes that when it comes to anything on the Web, Java is king. It is the obvious choice since SAP decided to implement its Web user interfaces in Java, he said. Online resources
We have gathered some links to get you started, but keep in mind that these are only a fraction of what's out there. You can try our new and improved search-feature to pinpoint SAP-oriented Java articles and tutorials across the Web. Also, since the beginning of this year, searchSAP offers free developer tips dedicated to SAP-oriented Java developers twice a month.

Java's primary strength is its openness, according to Axel Kratel, product manager of the Java Business Unit of Borland. Its community-driven nature will keep it sharp and ever growing in the years to come, making it a good bet for the long haul. Performance used to be the Achilles heel of Java, but newer releases have sped things up and all signs point to continued refinement and increased momentum.

"Java is a proven, well-established platform," Kratel said. "It provides powerful solutions across the board, from enterprise processes to mobile applications. Today, Java is not just for the Web."

ABAP, on the other hand, has the power of maturity and its integrated development environment, Kessler said. ABAP benefits from its robust server runtime environment, as well as the nice database programming capability. In that regard, ABAP has an advantage thanks to its powerful performance and portability abilities. ABAP is obviously not going to ride into the sunset anytime soon.

From a developer standpoint, Java and ABAP have many similarities, Kessler said. Both are object-oriented and are compiled to byte code, and both address the enterprise server.

As for differences, ABAP has a lot of 4GL features such as database programming, while Java doesn't. On the other hand, ABAP only runs on the server side, while Java handles both. Also, the syntax of ABAP is keyword oriented (like Cobol), while Java has a more C-like syntax.

Best to be bilingual

Like with most other things in life, it's nice to have a choice. Knowing both languages will allow you to pick the best tool for the job, based on the task at hand. In many cases, both will work equally well and the decision will be based purely on personal preference.

Kessler believes your background will help determine which language becomes your favorite.

"If you are a computer scientist, you will probably like Java," he said. "If you are a physician taking up programming, ABAP can make you productive more quickly."

Learning Java

If you already know ABAP, is it easier to learn Java? Obviously, any kind of previous programming experience will give you a head start in whatever new language you take on. In the specific case of ABAP developers learning Java, it should be even easier.

"SAP has done a lot in terms of introducing concepts into ABAP that are similar to Java," Kratel said, pointing to the similarities between the two languages.

One way to get a head start is to study ABAP's object oriented features such as classes, interfaces and exceptions, then start learning the Java syntax and compare their features, Kessler said. The two languages are very close to each other, and making the mental connection between what you know and what you're learning can speed up the learning process considerably.

Kratel thinks the best way to get started on learning Java is to tap the power of the Web. There are tons of articles, tutorials, and helpful free gizmos to get started.

Java is a relatively easy language to learn compared to other advanced programming languages. That said, its powerful and flexible nature can make it a complex platform to master. Getting good takes practice, lots of practice. Fortunately, online aids such as IBM's Robocode can help hone skills in a playful and fun way. If you want to get started quickly, Borland's JBuilder Personal is available for free and is geared towards learning Java.

There's no reason to get left behind, so make it a point to at least familiarize yourself with the basics.

"Java is of interest to every single ABAP developer out there," Kratel said. "If you're going to be programming in the SAP ecosystem, you're going to be best equipped to do so if you have both ABAP and Java."

分享到:
评论

相关推荐

    SAP ABAP 官方用户指南电子版 (ABAP/4 用户指南 和SAP联机帮助中的一样)

    BC ABAP/4 用户指南 读者注意事项 ABAP/4 简介 第一部分: ABAP/4 基础 ABAP/4 基础 第二部分: 编写 ABAP/4 报表 编写 ABAP/4 报表 第三部分: 编写 ABAP/4 事务 编写 ABAP/4 事务 关于帮助的 帮助,...

    External ABAP/4 Editor

    SAP customers use ABAP/4 for their own developments. Such developments can be important for adapting R/3 standard solutions to specific problems. The ABAP/4 Development Workbench contains all the ...

    SAP ABAP/4 开发宝典中文版

    第一部分 ABAP/4 基础 ABAP/4 简介 4 第一章 创建简单的ABAP/4程序 7 第二章 ABAP/4程序语法和格式 12 第三章 将数据输出到屏幕 19 第四章 处理文本摘要 29 第五章 处理数据 35 第六章 控制ABAP/4程序流 61 第七章 ...

    ABAP/4 自学经历

    现在,ABAP/4已成为SAP开发所有自己的应用程序的仅有工具。  SAP客户用ABAP/4进行其自身开发。这样的开发对R/3标准解决方案适应特殊问题非常重要。ABAP/4开发工作平台包含所有用于创建和维护ABAP/4程序的工具。  ...

    SAP ABAP/4教程PPT

    SAP ABAP/4教程PPT 全英文版

    BC ABAP/4 用户指南

    关于如何 提高 ABAP/4 任务性能的 技巧,请从 “ABAP/4 开发工作台 ”上选择事 务 SE30 或“测试 -> 运行时间分 析”,然后 单击“提示 和技巧”。 <br>Neither this documentation nor any part of it may be ...

    ABAP/4培训资料

    现在,ABAP/4已成为SAP开发所有自己的应用程序的仅有工具。  SAP客户用ABAP/4进行其自身开发。这样的开发对R/3标准解决方案适应特殊问题非常重要。ABAP/4开发工作平台包含所有用于创建和维护ABAP/4程序的工具。  ...

    ABAP/4用户指南

    现在,ABAP/4已成为SAP开发所有自己的应用程序的仅有工具。  SAP客户用ABAP/4进行其自身开发。这样的开发对R/3标准解决方案适应特殊问题非常重要。ABAP/4开发工作平台包含所有用于创建和维护ABAP/4程序的工具。  ...

    SAP R/3系统中ABAP/4编程概述

    SAP R/3系统中ABAP/4编程概述主要讲述了ABAP的基本语法。

    ABAP开发从入门到精通-高清自学版 SAP+ABAP开发从入门到精通 SAP开发自学必读 SAP SAP开发自学入门到精通

    ABAP开发从入门到精通_高清自学版 SAP+ABAP开发从入门到精通 SAP开发自学必读 SAP SAP开发自学入门到精通完整版HANA开发

    ABAP/4开发宝典中文版

    ABAP/4开发宝典中文版是关于ABAP/4编程语言的手册。其目的在于: · 向新的ABAP/4程序员提供从基本语言组件到复杂报表和事务编码的全面指导 · 向资深ABAP/4程序员提供解决特殊问题的参考方案 为满足这些需求,特...

    SAPABAP/4报表开发

    详细介绍SAP下的ABAP/4报表开发,PDF格式。

    ABAP基础目前最完美学习手册

    现在,ABAP/4 已成为 SAP 开发所有自 己的应用程 序的 仅有工 具。 SAP 客户用 ABAP/4 进行其自身 开发。这样 的开发对 R/3 标准解决方 案适应特殊 问题非常重 要。 ABAP/4 开发工作平 台包含所有 用于创建和 维护 ...

    SAP ABAP用户指南

    现在,ABAP/4 已成为 SAP 开发所有自己的应用程序的 仅有工具。 SAP 客户用 ABAP/4 进行其自身开发。这样的开发对 R/3 标准解决方案适应特殊问题非常重要。 ABAP/4 开发工作平台包含所有用于创建和维护 ABAP/4 ...

    ABAP用户指南-ABAP/4(Advanced Business Application Programming)是SAP/R3目前唯一的系統發展工具

    ABAP/4(Advanced Business Application Programming)是SAP/R3目前唯一的系統發展工具, 屬 4GL, 語法比較近似Visual Basic或JAVA, 和傳統third-generation 語言, 如C,PASCAL 有很大不同, 在程式模組(Program ...

    BC ABAP/4 用戶指南 ver3.0

    SAP最初開發ABAP/4(高級商業應用程序設計)語言僅為內部使用, 為應用程序員提供優化的工作環境. 經過不斷的改進和修改以滿足商業領域的需要. 現在, ABAP/4已成為SAP開發所有自己的應用程序的僅有工具..密钥:abapv30...

    SAP RFC ABAP编辑器

    The External ABAP/4 Editor User's Guide does not contain any information about the SAP ABAP/4 language and its usage. About the ABAP/4 programming please refer to the SAP ABAP/4 documentation.

    sapabap开发从入门到精通

    资源名称:sap abap开发从入门到精通 内容简介: 《SAP ABAP开发从入门到精通》以应用实例的形式,讲解了SAPABAP开发的相关知识点,详细介绍了SAPABAP开发者必须掌握的包与变更传输系统(CTS)、数据类型、数据库...

    ABAP4Day3.rar_ABAP/4_SAP_abap

    SAP中进行二次开发培训 资料ABAP/4程序员之路——第3天

Global site tag (gtag.js) - Google Analytics