This document discusses Java Server Pages (JSP) and how to perform searches on a database using JSP. It covers key aspects of JSP including using JSP tags to generate HTML, the JSP lifecycle, and separating dynamic and static content. It then discusses using SQL queries in JSP, including SELECT, WHERE, LIKE, and other SQL statements. It provides code examples for the JSP search page, Java classes for accessing the database and returning results, and the servlet used to handle searches. The main topics covered are using JSP, SQL queries in JSP, and building a search feature to look up records from a database table.
The document provides an overview of Cappuccino, a framework for building web applications that resemble desktop applications. It includes detailed instructions for installation, configuration, and code examples in Objective-J, as well as information on creating user interfaces and handling events. It emphasizes the advantages of Cappuccino over traditional web development approaches, particularly in user experience and functionality.
This document compares web apps and native apps for mobile devices. It discusses that web apps are developed with HTML, CSS and JavaScript and can be accessed through any web browser, while native apps are developed through platforms like iOS and Android using languages like Objective-C and Java. It also mentions that HTML5 aims to make web apps work more like native apps by adding features like offline storage, multimedia playback and geolocation to web browsers. Finally, it provides examples of how to make web apps for iPhone that utilize features like touch icons, viewport settings and JavaScript libraries to mimic the look and feel of native iPhone apps.
Smart Phone Development Using Web Technologies
The document discusses various options for developing smartphone applications using web technologies, including PhoneGap and Titanium. PhoneGap allows developing apps using HTML, CSS, and JavaScript that run on multiple platforms, but performance is slower than native apps and some native features are not accessible. Titanium compiles JavaScript to run natively on each platform, allowing native-like performance and access to full device APIs, but with a less familiar development model compared to web development. Overall, PhoneGap is better for prototyping and simple cross-platform apps, while Titanium enables better performance for native-like apps.
This document discusses Java Server Pages (JSP) and how to perform searches on a database using JSP. It covers key aspects of JSP including using JSP tags to generate HTML, the JSP lifecycle, and separating dynamic and static content. It then discusses using SQL queries in JSP, including SELECT, WHERE, LIKE, and other SQL statements. It provides code examples for the JSP search page, Java classes for accessing the database and returning results, and the servlet used to handle searches. The main topics covered are using JSP, SQL queries in JSP, and building a search feature to look up records from a database table.
The document provides an overview of Cappuccino, a framework for building web applications that resemble desktop applications. It includes detailed instructions for installation, configuration, and code examples in Objective-J, as well as information on creating user interfaces and handling events. It emphasizes the advantages of Cappuccino over traditional web development approaches, particularly in user experience and functionality.
This document compares web apps and native apps for mobile devices. It discusses that web apps are developed with HTML, CSS and JavaScript and can be accessed through any web browser, while native apps are developed through platforms like iOS and Android using languages like Objective-C and Java. It also mentions that HTML5 aims to make web apps work more like native apps by adding features like offline storage, multimedia playback and geolocation to web browsers. Finally, it provides examples of how to make web apps for iPhone that utilize features like touch icons, viewport settings and JavaScript libraries to mimic the look and feel of native iPhone apps.
Smart Phone Development Using Web Technologies
The document discusses various options for developing smartphone applications using web technologies, including PhoneGap and Titanium. PhoneGap allows developing apps using HTML, CSS, and JavaScript that run on multiple platforms, but performance is slower than native apps and some native features are not accessible. Titanium compiles JavaScript to run natively on each platform, allowing native-like performance and access to full device APIs, but with a less familiar development model compared to web development. Overall, PhoneGap is better for prototyping and simple cross-platform apps, while Titanium enables better performance for native-like apps.
๋Java Web Programming on Cloud Computing using Google App EngineIMC Institute
เอกสารประกอบการอบรมหลักสูตร Mini Master of Java Technology ปี 2011 เรื่อง Java Web Programming on Cloud Computing using Google App Engine โดยใช้ Eclipse เป็น Tool
The document summarizes the rise of the app economy in Thailand and opportunities for Thai software developers. Key points:
- Thailand is entering the era of the app economy, dominated by mobile devices, cloud computing, and social networking. This represents a shift from the PC era.
- The app economy provides opportunities for developers through jobs creating apps and maintaining app ecosystems and platforms. However, consumer apps face competition while enterprise apps have strict requirements.
- For Thai developers, opportunities exist in both consumer and enterprise mobile apps, as well as localization of apps. Success requires understanding business needs and processes. Monetization is also a challenge due to app discovery issues.
- Trends driving the app economy include the
Software Park Thailand aims to promote cloud computing adoption in Thailand and establish the country as a cloud outsourcing center. It will focus on encouraging software developers to create software-as-a-service and end users like SMEs to utilize cloud services. Several companies discuss their cloud computing services and partnerships to support these goals. Rapid growth is expected in cloud computing in Thailand in the coming years.
This document provides an overview of Thailand's IT market and contact information for 16 Thai exhibitor companies. It includes sections on Thailand's IT market trends, the Department of International Trade Promotion which organized the event, Software Park Thailand, mobile technology in Thailand, and lists the Thai exhibitor companies with contact information.
Software Park Newsletter 2/2554 "แท็บเล็ต สมาร์ทโพน โมบายแอพพลิเคชั่น ดาวเด่น...Software Park Thailand
1) Thailand's GDP in the first quarter of 2022 grew by 2.2% compared to the same period last year, totaling over 591,000 million baht. Private consumption rose by 20.4%, contributing over 112,000 million baht to GDP.
2) Exports of goods increased by 33,000 million baht or 2.5% compared to the same period last year, totaling over 445,000 million baht and accounting for 75% of GDP.
3) The top 3 industries that drove the economy in Q1 were manufacturing (17.6% of GDP), wholesale and retail trade (17%), and agricultural and agricultural product processing (10.1%).
The document discusses opportunities for Thai software developers in the mobile application market. It notes that developers should think globally and develop applications that can serve international markets given the borderless nature of software. It highlights several Thai companies that have successfully expanded into mobile services and applications. The rapidly growing markets for smartphones and tablets are opening up opportunities for developers to create business-driven mobile apps rather than standalone products.
The document discusses a Thai IT trade delegation visiting Tokyo, Japan from November 11-16, 2012. It includes an agenda item where Dr. Thanachart Numnonda, the director of Software Park Thailand, will speak on November 15. The rest of the document appears to be presentations and materials from various Thai IT companies promoting their products and services to potential Japanese partners and clients.
The document summarizes key details about a delegation of 16 Thai new media companies visiting Tokyo, Japan from November 12-16, 2012. It introduces the organizing bodies, Software Park Thailand and the Office of Small and Medium Enterprise Promotion (OSMEP), and their roles in supporting the Thai software industry and small businesses. The objectives of the delegation are to explore the Japanese market and find potential partners through business meetings and networking. Background on Thailand's growing internet usage and online economy is also provided.
The document summarizes a Thai IT trade delegation trip to Tokyo, Japan from November 11-16, 2012. It was led by the Office of Small and Medium Enterprises Promotion (OSMEP) and Software Park Thailand, and funded by OSMEP. The delegation included 16 software companies. The mission provided information on Thailand's IT industry and markets as well as Software Park Thailand, which provides office space, training and incubation for software startups.
Thai IT Business Development Delegation to Tokyo, Japan: November 2012 Software Park Thailand
Ms. Pimnara Sukkasem
Tel : +66 2 901 1111
Mobile : +66 81 893 7777
Website : www.dotcomdigital.co.th
Looking for: Business Partner, Distributor
Business Nature Product or Services:
Dotcom Digital is a full-service digital agency that specializes in online marketing, web design and
development, mobile application development, and social media marketing. We have been helping Thai
and international clients achieve their business goals through innovative digital solutions for over 10 years.
Our core services include:
- Online Marketing (Search Engine Optimization, Pay-Per-Click Advertising, Affiliate Marketing, Email
77. 77
11.2 การพฒนาโปรแกรม helloTag.jsp
โปรแกรม helloTag.jsp เปนโปรแกรม JSP ทท.างานแบบเดยวกบโปรแกรม hello.jsp แต/การพฒนา
โปรแกรมนจะเขยนโดยการสราง custom tag ทชอ nameTag การสราง custom Tag จะตองมการพฒนาโปรแก
รมหลายๆ ส/วนดงน
11.2.1 สราง Tag Library Descriptor
ไฟล5นจะใชเกบ รายชอ Tag ต/างๆ ทมอย#/เพอสามารถน.า tag ต/างๆ มาใชในโปรแกรม JSP โดยใชค.าสง
<%@taglib ...%> การสราง Tag Library Descriptor จะมขนตอนดงน
1. เลอกหนาต/าง Projects แลวคล0;กขวาทโหนด JSPDemo จากนนเลอกค.าสง New > Other...
2. ในไดอะลอก New File ใหเลอก Categories ทชอ Web ซ,งโปรแกรมกจะแสดง File Types ต/างๆ ภาย
ใต Category น ใหเราเลอก Tag Library Descriptor แลวกด Next
3. ก.าหนด TLD Name: เปน MyTags และค/า Folder เปน WEB-INFtlds ส/วนค/าอนๆ ใหเปนตามทตง
ไวดงร#ปท 11.2 แลวกด Finish
รปท 11.2 การก#าหนด Tag Library Descriptor
4. หนาต/าง Editor จะแสดงไฟล5ทชอ MyTags.tld ทอย#/ในโฟลเดอร5 Web PagesWEB-INFtlds
การเขยนโปรแกรม Java Servet / JSP Thanachart Numnonda / Thanisa Kruawaisayawan
78. 78
11.2.2 สรางไฟล5 Tag Handler
ไฟล5 Tag Handler จะเปนโปรแกรมจาวาทพฒนาข,นเพอระบ1วา เมอเรยกใช tag แลวจะตองท.าค.าสง
/
อย/างไร ในทนจะก.าหนดชอ Tag เปน NameTag และโปรแกรมจาวาเปน NameTagHandler โดยโปรแกรมจะ
ท.าการอ/านค/าพาราม0เตอร5 name และพ0มพ5ขอความ Hello xxxx จ.านวนส0บครง การสรางไฟล5 Tag Handler จะม
ขนตอนดงน
1. เลอกหนาต/าง Projects แลวคล0;กขวาทโหนด JSPDemo จากนนเลอกค.าสง New > Other...
2. ในไดอะลอก New File ใหเลอก Categories ทชอ Web ซ,งโปรแกรมกจะแสดง File Types ต/างๆ ภาย
ใต Category น ใหเราเลอก Tag Handler แลวกด Next
3. ก.าหนด Class Name: เปน NameTagHandler ค/า Package เปน tags ส/วนค/าอนๆ ใหเปนตามทตงไว
ดงร#ปท 11.3 แลวกด Next
รปท 11.3 การก#าหนดคา Tag Handler
4. กดป16ม Browse เลอก TLD File: เปน MyTags.tld
5. กดป16ม New เพอเพ0ม Attribute
6. ในไดอะลอก Add New Attribute ก.าหนด Attribute Name: เปน name ค/า Attribute Type เปน
java.lang.String และเลอก required Attribute แลวกด Next
7. เราจะไดไดอะลอก New File ดงร#ปท 11.4 แลวกด Finish
8. หนาต/าง Editor จะแสดงไฟล5 NameTagHandler.java ใหเขยน source code ดง Listing ท 11.2
การเขยนโปรแกรม Java Servet / JSP Thanachart Numnonda / Thanisa Kruawaisayawan
79. 79
รปท 11.4 การกาหนดขอมล TLD ของไฟล! NameTagHandler
Listing ท 11.2 โปรแกรม NameTagHandler.java
package tags;
import javax.servlet.jsp.tagext.*;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.JspException;
public class NameTagHandler extends SimpleTagSupport {
/**
* Initialization of name property.
*/
private java.lang.String name;
/**Called by the container to invoke this tag.
* The implementation of this method is provided by the tag library developer,
* and handles all tag processing, body iteration, etc.
*/
public void doTag() throws JspException {
JspWriter out=getJspContext().getOut();
try {
JspFragment f=getJspBody();
if (f != null) f.invoke(out);
for (int i = 0; i < 10; i++) {
out.println("Hello " + name + "<br>");
การเขยนโปรแกรม Java Servet / JSP Thanachart Numnonda / Thanisa Kruawaisayawan