- 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 ."
- 中文版3ds Max 2024完全自學教程
- Animate 2022動畫制作:團體操隊形
- Celtx: Open Source Screenwriting Beginner's Guide
- 音樂日記:Logic Pro X場景x風格編曲實用教程
- iPhone JavaScript Cookbook
- Django 1.0 Website Development
- 中文版Illustrator CC實戰視頻教程
- Photoshop電商設計與產品精修實戰(微視頻版)
- Building Websites with VB.NET and DotNetNuke 4
- 3ds Max/VRay印象燈光/材質/渲染技術精粹Ⅲ
- 中文版CINEMA 4D R20 實用教程
- Professional Azure SQL Database Administration
- Photoshop人像精修秘笈
- Hello HarmonyOS!:鴻蒙應用開發從入門到精通
- 計算機圖形制作CorelDRAW X6項目教程