- EJB 3 Developer Guide
- Michael Sikora
- 225字
- 2021-07-02 11:34:52
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "We name our interface TimeService.java
, which contains a single method definition getTime()
."
A block of code will be set as follows:
@Stateless public class TimeServiceBean implements TimeService { public String getTime() { Formatter fmt = new Formatter(); Calendar cal = Calendar.getInstance(); fmt.format("%tr", cal); return fmt.toString(); } }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items will be made bold:
@Stateless public class TimeServiceBean implements TimeService { private @EJB NiceDayService niceDay; public String getTime() { Formatter fmt = new Formatter(); Calendar cal = Calendar.getInstance(); fmt.format("%tr", cal); return fmt.toString() + niceDay.getMessage(); } }
Any command-line input and output is written as follows:
C:\EJB3Chapter02\glassfish\lab1\build>jar -tvf TimeService.jar
New terms and important words are introduced in a bold-type font. Words that you see on the screen, in menus or dialog boxes for example, appear in our text like this: " Under the Web Services heading in the Common Tasks pane on the left of the screen, click on Arithmetic ."
- Flash CS6標準教程(全視頻微課版)
- Photoshop 平面廣告設計從入門到精通
- MATLAB 2015從入門到精通
- PowerPoint 2019從入門到精通(移動學習版)
- 通達信炒股軟件從入門到精通(第2版)
- 中文版Photoshop CC平面設計從入門到精通(唯美)
- After Effects中文版入門、精通與實戰
- Photoshop CC移動UI設計實用教程
- 中文版Photoshop CC基礎培訓教程
- Building Websites with VB.NET and DotNetNuke 4
- Adobe創意大學InDesign產品專家認證標準教材(CS6修訂版)
- 行攝 Photoshop CC后期修片高手之道(第2版)
- 中文版AutoCAD 2022從入門到精通
- Maya Paint Effect 特效應用手冊
- 中文版3ds Max 2012基礎培訓教程(第2版)