Source Code Cross Referenced for ReturnPersonExample.java in  » Ajax » Laszlo-4.0.10 » examples » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Ajax » Laszlo 4.0.10 » examples 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /* ****************************************************************************
002:         * ReturnPersonExample.java
003:         * ****************************************************************************/
004:
005:        /* J_LZ_COPYRIGHT_BEGIN *******************************************************
006:         * Copyright 2001-2004 Laszlo Systems, Inc.  All Rights Reserved.              *
007:         * Use is subject to license terms.                                            *
008:         * J_LZ_COPYRIGHT_END *********************************************************/
009:
010:        package examples;
011:
012:        import java.util.ArrayList;
013:
014:        //------------------------------------------------------------------------------
015:        // See examples/javarpc/returnperson.lzx
016:        //------------------------------------------------------------------------------
017:
018:        public class ReturnPersonExample {
019:
020:            static ArrayList list = new ArrayList();
021:
022:            public static Person getPerson() {
023:                return new Person("eric", "2600 campus drive", "san mateo");
024:            }
025:
026:            public static ArrayList getArrayListOfPerson() {
027:                return list;
028:            }
029:
030:            static {
031:                list
032:                        .add(new Person("kathryn", "2600 campus drive",
033:                                "san mateo"));
034:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
035:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
036:                list
037:                        .add(new Person("kirsten", "2600 campus drive",
038:                                "san mateo"));
039:                list
040:                        .add(new Person("kathryn", "2600 campus drive",
041:                                "san mateo"));
042:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
043:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
044:                list
045:                        .add(new Person("kirsten", "2600 campus drive",
046:                                "san mateo"));
047:                list
048:                        .add(new Person("kathryn", "2600 campus drive",
049:                                "san mateo"));
050:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
051:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
052:                list
053:                        .add(new Person("kirsten", "2600 campus drive",
054:                                "san mateo"));
055:                list
056:                        .add(new Person("kathryn", "2600 campus drive",
057:                                "san mateo"));
058:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
059:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
060:                list
061:                        .add(new Person("kirsten", "2600 campus drive",
062:                                "san mateo"));
063:                list
064:                        .add(new Person("kathryn", "2600 campus drive",
065:                                "san mateo"));
066:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
067:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
068:                list
069:                        .add(new Person("kirsten", "2600 campus drive",
070:                                "san mateo"));
071:                list
072:                        .add(new Person("kathryn", "2600 campus drive",
073:                                "san mateo"));
074:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
075:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
076:                list
077:                        .add(new Person("kirsten", "2600 campus drive",
078:                                "san mateo"));
079:                list
080:                        .add(new Person("kathryn", "2600 campus drive",
081:                                "san mateo"));
082:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
083:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
084:                list
085:                        .add(new Person("kirsten", "2600 campus drive",
086:                                "san mateo"));
087:                list
088:                        .add(new Person("kathryn", "2600 campus drive",
089:                                "san mateo"));
090:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
091:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
092:                list
093:                        .add(new Person("kirsten", "2600 campus drive",
094:                                "san mateo"));
095:                list
096:                        .add(new Person("kathryn", "2600 campus drive",
097:                                "san mateo"));
098:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
099:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
100:                list
101:                        .add(new Person("kirsten", "2600 campus drive",
102:                                "san mateo"));
103:                list
104:                        .add(new Person("kathryn", "2600 campus drive",
105:                                "san mateo"));
106:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
107:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
108:                list
109:                        .add(new Person("kirsten", "2600 campus drive",
110:                                "san mateo"));
111:                list
112:                        .add(new Person("kathryn", "2600 campus drive",
113:                                "san mateo"));
114:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
115:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
116:                list
117:                        .add(new Person("kirsten", "2600 campus drive",
118:                                "san mateo"));
119:                list
120:                        .add(new Person("kathryn", "2600 campus drive",
121:                                "san mateo"));
122:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
123:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
124:                list
125:                        .add(new Person("kirsten", "2600 campus drive",
126:                                "san mateo"));
127:                list
128:                        .add(new Person("kathryn", "2600 campus drive",
129:                                "san mateo"));
130:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
131:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
132:                list
133:                        .add(new Person("kirsten", "2600 campus drive",
134:                                "san mateo"));
135:                list
136:                        .add(new Person("kathryn", "2600 campus drive",
137:                                "san mateo"));
138:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
139:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
140:                list
141:                        .add(new Person("kirsten", "2600 campus drive",
142:                                "san mateo"));
143:                list
144:                        .add(new Person("kathryn", "2600 campus drive",
145:                                "san mateo"));
146:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
147:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
148:                list
149:                        .add(new Person("kirsten", "2600 campus drive",
150:                                "san mateo"));
151:                list
152:                        .add(new Person("kathryn", "2600 campus drive",
153:                                "san mateo"));
154:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
155:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
156:                list
157:                        .add(new Person("kirsten", "2600 campus drive",
158:                                "san mateo"));
159:                list
160:                        .add(new Person("kathryn", "2600 campus drive",
161:                                "san mateo"));
162:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
163:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
164:                list
165:                        .add(new Person("kirsten", "2600 campus drive",
166:                                "san mateo"));
167:                list
168:                        .add(new Person("kathryn", "2600 campus drive",
169:                                "san mateo"));
170:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
171:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
172:                list
173:                        .add(new Person("kirsten", "2600 campus drive",
174:                                "san mateo"));
175:                list
176:                        .add(new Person("kathryn", "2600 campus drive",
177:                                "san mateo"));
178:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
179:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
180:                list
181:                        .add(new Person("kirsten", "2600 campus drive",
182:                                "san mateo"));
183:                list
184:                        .add(new Person("kathryn", "2600 campus drive",
185:                                "san mateo"));
186:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
187:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
188:                list
189:                        .add(new Person("kirsten", "2600 campus drive",
190:                                "san mateo"));
191:                list
192:                        .add(new Person("kathryn", "2600 campus drive",
193:                                "san mateo"));
194:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
195:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
196:                list
197:                        .add(new Person("kirsten", "2600 campus drive",
198:                                "san mateo"));
199:                list
200:                        .add(new Person("kathryn", "2600 campus drive",
201:                                "san mateo"));
202:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
203:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
204:                list
205:                        .add(new Person("kirsten", "2600 campus drive",
206:                                "san mateo"));
207:                list
208:                        .add(new Person("kathryn", "2600 campus drive",
209:                                "san mateo"));
210:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
211:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
212:                list
213:                        .add(new Person("kirsten", "2600 campus drive",
214:                                "san mateo"));
215:                list
216:                        .add(new Person("kathryn", "2600 campus drive",
217:                                "san mateo"));
218:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
219:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
220:                list
221:                        .add(new Person("kirsten", "2600 campus drive",
222:                                "san mateo"));
223:                list
224:                        .add(new Person("kathryn", "2600 campus drive",
225:                                "san mateo"));
226:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
227:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
228:                list
229:                        .add(new Person("kirsten", "2600 campus drive",
230:                                "san mateo"));
231:                list
232:                        .add(new Person("kathryn", "2600 campus drive",
233:                                "san mateo"));
234:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
235:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
236:                list
237:                        .add(new Person("kirsten", "2600 campus drive",
238:                                "san mateo"));
239:                list
240:                        .add(new Person("kathryn", "2600 campus drive",
241:                                "san mateo"));
242:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
243:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
244:                list
245:                        .add(new Person("kirsten", "2600 campus drive",
246:                                "san mateo"));
247:                list
248:                        .add(new Person("kathryn", "2600 campus drive",
249:                                "san mateo"));
250:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
251:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
252:                list
253:                        .add(new Person("kirsten", "2600 campus drive",
254:                                "san mateo"));
255:                list
256:                        .add(new Person("kathryn", "2600 campus drive",
257:                                "san mateo"));
258:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
259:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
260:                list
261:                        .add(new Person("kirsten", "2600 campus drive",
262:                                "san mateo"));
263:                list
264:                        .add(new Person("kathryn", "2600 campus drive",
265:                                "san mateo"));
266:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
267:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
268:                list
269:                        .add(new Person("kirsten", "2600 campus drive",
270:                                "san mateo"));
271:                list
272:                        .add(new Person("kathryn", "2600 campus drive",
273:                                "san mateo"));
274:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
275:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
276:                list
277:                        .add(new Person("kirsten", "2600 campus drive",
278:                                "san mateo"));
279:                list
280:                        .add(new Person("kathryn", "2600 campus drive",
281:                                "san mateo"));
282:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
283:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
284:                list
285:                        .add(new Person("kirsten", "2600 campus drive",
286:                                "san mateo"));
287:                list
288:                        .add(new Person("kathryn", "2600 campus drive",
289:                                "san mateo"));
290:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
291:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
292:                list
293:                        .add(new Person("kirsten", "2600 campus drive",
294:                                "san mateo"));
295:                list
296:                        .add(new Person("kathryn", "2600 campus drive",
297:                                "san mateo"));
298:                list.add(new Person("scott", "2600 campus drive", "san mateo"));
299:                list.add(new Person("sarah", "2600 campus drive", "san mateo"));
300:                list
301:                        .add(new Person("kirsten", "2600 campus drive",
302:                                "san mateo"));
303:            }
304:
305:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.