NIIT课程体系(Java)
- 格式:doc
- 大小:692.29 KB
- 文档页数:6
《Java程序设计》选修课简介一、课程基本信息课程名称:Java程序设计英文名称:Java programming课程类别:专业选修课考核方式:考查先修课程:离散数学、C语言、数据结构学时:24二、课程简介Java语言是面向对象技术成功应用的著名范例,是目前最为流行的程序设计语言之一(长期占据编程语言使用排名的前2位),其集良好的跨平台性、安全性和OO特征,使之得到了广泛的支持和应用。
本课程旨在介绍Java语言的基本知识,训练Java标准版本(J2SE)的编程基本功,建立面向对象的编程思维框架。
通过本课程的学习,使同学掌握面向对象程序设计的基本概念与方法,掌握以Java 语言为基础的面向对象编程技术,初步掌握以Java为核心的应用软件开发。
教学内容包括:Java语言绪论、Java语言的基本要素、Java语言结构化程序设计、Java 面向对象技术、Java输入输出、Java常用基础类、Java界面设计与多媒体技术、Java多线程、Java数据库编程和Java网络编程等。
教材:1. 李卫华编著.Java技术及其应用. 清华大学出版社,2009,ISBN : 9787302198796.Java程序设计课程简介本课程是计算机相关专业的主要程序设计课程。
Java语言是目前广为流行的面向对象程序设计语言之一,适用于网络上编程,满足Internet上软件开发的需要,它是一门概念性和实践性都很强的专业课程。
通过学习本课程,应能准确完整地理解Java语言的语法、语义规则;掌握Java语言的数据类型、表达式及控制流程;运用面向对象程序设计思想,正确的阅读、分析程序和设计程序,掌握面向对象程序设计方法,提高程序设计能力,以适应计算机软件开发不断发展的需要。
本课程分别介绍了Java的语言基础、面向对象结构、基本输入输出、增强性能类、收集与数据结构应用、图形用户界面及桌面应用、小程序及多媒体应用、JDBC与数据库应用、JavaBeans及组件应用、网络与Web服务应用等方面的内容,而且与各种应用结合起来介绍,使学生了解新技术后很快可以用到实际程序开发中。
《Java程序设计》课程标准课程名称:Java程序设计课程代码:1669建议课时数:80(其中实践课时数:40)学分:5适用专业:软件技术课程归口单位:软件与服务外包学院一、前言(一)课程的定位本课程是计算机软件技术专业的一门专业核心课程,目标是使学生熟练运用面向对象的基本思想与方法和Java语言进行程序开发。
它要以《C语言程序设计》、《关系数据库基础与应用》等课程的学习为基础,也是进一步学习《Java Web应用开发》及《Java Web框架编程》打下良好的基础。
(二)设计思路本课程是依据“软件技术专业工作任务与职业能力分析表”中的B/S互联网应用开发和移动应用开发工作项目设置的。
其总体设计思路是,打破以知识传授为主要特征的传统学科课程模式,转变为以工作任务为中心组织课程内容,并让学生在完成具体项目的过程中学会完成相应工作任务,并构建相关理论知识,发展职业能力。
课程内容突出对学生职业能力的训练,理论知识的选取紧紧围绕工作任务完成的需要来进行,同时又充分考虑了高等职业教育对理论知识学习的需要,并融合了相关职业资格证书对知识、技能和态度的要求。
工作项目设计以Java程序员的岗位需求分析为主线来进行,梳理知识与技能的描述。
要求能使用Eclipse集成开发环境,熟练运用Java语言和Spring MVC技术进行程序开发;熟悉Java语法、面向对象的实现方法、JDBC访问、网络通信协议等知识。
本课程以任务驱动为主,采用线上线下混合教学模式,以五大学习任务为主。
学习任务以具体项目为载体,这些项目相互独立且递进的,融合了每个学习阶段任务中要求学生掌握的知识和技能,培养学生的实际编程能力。
在课程实施过程中注重培养学生的职业道德、合作意识、质量意识、服务意识以及学习意识等素养,使其符合企业需求的Java开发工程师应具备的职业素养。
该门课程的总学时为80课时,5学分。
2课程目标通过本课程的学习,学生理解类层次、对象及对象之间的关系,熟悉并能使用Eclipse 集成开发环境,理解Eclipse开发环境的编译、运行方式;掌握面向对象的编程思维;熟悉应用程序开发的一般步骤;了解Java代码编写和文档符合规范,形成良好的编程习惯,养成良好的协作精神与服务意识的团队合作能力;熟悉程序调试、排错的方法。
CollaborateKnowledge ByteIn this section, you will learn about:•Java EE 5 Software Development Kit (SDK) architecture•Types of Java EE containers•Advantages of servlets•Disadvantages of servletsCollaborateJava EE 5 SDK Architecture•The Java EE architecture segregates the application in the different layers that reside or run on the following Java EE components:•Client tier•Web tier•Business tier•Enterprise Information System (EIS) tierCollaborateTypes of Java EE Containers•Various types of Java EE containers are:•Web container: Provides a runtime environment to manage deployed Web components, such as servlets and JSP.•Applet container: Provides the runtime environment for executing applets.•EJB container: Provides a runtime environment to manage deployed EJB components.•Application client container: Provides a runtime environment for Java EE application clients.CollaborateTypes of Java EE Containers (Contd.)•The following figure shows the interaction between different Java EE containers:CollaborateAdvantages of Servlets •Some of the advantages of servlets are:•Portability•Efficiency•Safety•Integration•Extensibility•InexpensiveCollaborateDisadvantages of Servlets•Some of the disadvantages of servlets include:•Whenever a Web page changes, the servlet needs to be rewritten, recompiled, and redeployed.•Servlets must handle concurrency issues.CollaborateFrom the Expert’s DeskIn this section, you will learn about:•Working with servletsCollaborateBest PracticesUpgrading a Static Web Site to Provide Dynamic Output Using Servlets•You can use servlets to upgrade a static Web site to provide dynamic content.However, before using servlets, you need to identify the requirements thatneed to be implemented as servlets. If a servlet needs to display both staticand dynamic content, use the init()method to create the static contentinstead of the doGet()or doPost()methods. This is because the init()method is called only once and the static content remains same throughout allrequests, you can create it in the init()method. You can, then, append thestatic content to the dynamic content created in the doGet()and doPost()methods before sending it as response.CollaborateBest Practices (Contd.)Sending Large Binary Data Using Servlets •When you send large amount of binary responses, such as a number of image files using servlet, you can explicitly program your servlet to keep flushing theresponse buffer by using the flush() method of the ServletOutputStreamclass. The response buffer is normally flushed when it becomes full or whenoutput stream is closed. However, explicitly flushing the buffer at frequentintervals of time allows the client to start displaying the content partly insteadof waiting for the entire content to arriveCollaborateTipsHandling HTTP Methods•At times, while working with servlet applications, you are not sure of whether the client makes a GET request or POST request. In such a situation, the servermay return the response that the particular method is not supported by theservlet. To avoid such instances, you can provide your servicing code inside thedoPost()method, and then make a call to the doPost()method from within thedoGet()method. The client request is serviced on whatever code is invoked.CollaborateTips (Contd.)Caching Servlets•Caching is a process that stores recently accessed data in the memory of the client so that it can be used for future requests. The browser caches thecontent of Web applications, such as servlet. Caching servlet response reducesthe time between a client request and the servlet response. In addition,caching reduces the network traffic as the browser can display a cached servletresponse to the client instead of sending the request to the application serverfor the servlet.CollaborateTips (Contd.)Caching Servlets (Contd.)•You can programmatically control how a browser caches your servlet content by overriding the getLastModified()method of the HttpServlet class in yourservlet. The getLastModified()method returns the last modified time of theservlet in milliseconds since midnight of January 1, 1970 GMT as a long value.When the server receives a request for a servlet from a browser with theIf-Modified-Since header, the server calls the getLastModified()method toretrieve the last modified time of the servlet. Then, the server compares thetime returned by the getLastModified()method with the time stored in theLast-Modified header. If there is no difference in the time of two headervalues, a status code is sent to the browser to display the servlet output fromthe browser cache. Otherwise, a call to the service()method of the servlet ismade to send a response to the browser with a new value to theLast-Modified headerCollaborateFAQs•Do you need to define constructors for servlets?•No, you need not define constructors for servlets. The init() method of the servlet acts as a constrcutor. As the Java EE environment handles theinstantation of the servlet, you need not define an explicit constructor. Youcan place the initialization code in the init()method of the servlet.CollaborateFAQs (Contd.)•How does a servlet obtain information from the deployment descriptor?•When a Web application is deployed, the container obtains the information from the deployment descriptor and initializes a ServletConfig objectand a ServletContext object with it. The container passes theServletConfig object to the init() method of the servlet to initialize it.The servlet can, then, obtain information, such as its initializationparameter, using the ServletConfig object. The servlet can also use theServletConfig object to obtain the ServletContext object. The servletcan, then, call methods on the ServletContext object to obtaininformation, such as the context initialization parameters that werespecified in the deployment descriptor.CollaborateFAQs (Contd.)•How does a servlet obtain information from the deployment descriptor?•When a Web application is deployed, the Web container obtains the information from the deployment descriptor and initializes aServletConfig object and a ServletContext object with it. Thecontainer passes the ServletConfig object to the init()method of theservlet to initialize it. The servlet can obtain information, such as itsinitialization parameter using the ServletConfig object. The servlet canthen call methods of the ServletContext object to obtain information,such as the context initialization parameters that was specified in thedeployment descriptor.CollaborateFAQs (Contd.)•How does a Web component deployment descriptor differs from the Application Server deployment descriptor?• A Web component deployment descriptor is the standard web.xml file, which is stored in the WEB-INF directory of a Web component WAR file.The deployment descriptor of a Web component contains componentspecific information, such as name of servlet, class file of servlet, URLmapping, error pages, initialization parameters, and listeners. On thecontrary, an application deployment descriptor is the standardapplication.xml file, which is stored in the top level of the META-INFdirectory of a Java EE application EAR file. This deployment descriptorcontains information of the Java EE application, such as the different Webmodules that the application contains and their context root.CollaborateChallenge1.How many times are the init() and destroy() methods called in the servletlife cycle?2.The __________ object is passed to the i nit() method when the containerinitializes the servlet.3.What is the maximum number of characters that are permitted in a querystring?4.How can a servlet inform a client about the size of a file that is being sent?5.Which class is used by a servlet to receive a client request sent through HTTP?CollaborateSolution to Challenge1.Once2.ServletConfig3.240 characters4.By setting the Content-length HTTP header in the response5.HttpServletRequest。
计算机科学与技术课程体系计算机科学与技术是一门研究计算机系统的设计、开发和应用的学科。
随着信息技术的飞速发展,计算机科学与技术已经成为现代社会不可或缺的一部分。
为了培养具备扎实的计算机科学理论基础和广泛的实践能力的高级专门人才,各高校纷纷设立了计算机科学与技术专业。
本文将对计算机科学与技术课程体系进行详细的介绍。
一、计算机科学与技术课程体系的组成计算机科学与技术课程体系通常包括以下几个部分:1.基础课程:包括高等数学、线性代数、概率论与数理统计、离散数学、数据结构、计算机组成原理、操作系统、计算机网络等。
这些课程为学生打下了扎实的计算机科学理论基础。
2.专业核心课程:包括算法设计与分析、软件工程、数据库原理、编译原理、人工智能、计算机图形学、计算机视觉、机器学习等。
这些课程使学生具备了较强的计算机软件开发和设计能力。
3.实践课程:包括实验课程、实习、毕业设计等。
这些课程使学生在实践中不断提高自己的技能,为将来的工作和学术研究打下了坚实的基础。
4.选修课程:根据学生的兴趣和发展方向,可以选择一些相关的选修课程,如移动应用开发、大数据处理、云计算、网络安全等。
二、计算机科学与技术课程体系的特点1.理论与实践相结合:计算机科学与技术课程体系注重培养学生的实践能力,因此在课程设置上既有理论课程,也有实践课程。
学生在学习理论知识的同时,还要通过实验、实习等方式将所学知识应用于实际问题中,提高自己的动手能力。
2.跨学科性强:计算机科学与技术是一门交叉学科,涉及到数学、物理、电子、通信等多个领域。
因此,计算机科学与技术课程体系在设置时充分考虑了跨学科的要求,使学生在学习过程中能够接触到多个学科的知识,拓宽自己的视野。
3.灵活性高:计算机科学与技术是一个不断发展的领域,新的技术和方法层出不穷。
因此,计算机科学与技术课程体系在设置时充分考虑了灵活性,使学生能够根据自己的兴趣和发展方向选择相应的课程,培养自己的特长。
《Java程序设计》课程教学大纲课程编号:08120031课程名称:Java程序设计/JAVA Programming总学时/学分:48/3(其中理论32学时,实验16学时)适用专业:计算机科学与技术一、课程目标通过本课程学习,学生应达到如下目标:目标1. 识别Java语言特点、基本语法、语言机制。
目标2. 将面向对象方法知识运用在程序设计案例中,能使用JAVA常用类、枚举、lambda 表达式、容器、泛型进行实例编程验证。
目标3. 利用JavaSE中的异常处理、输入输出等技术来表达处理程序应用问题。
目标4. 将图形用户界面和数据库编程技术运用中综合应用程序设计中。
目标5. 搭建Java开发环境,能设计实现各种Java技术的应用程序,且能测试运行。
二、课程目标对毕业要求的支撑三、教学过程安排四、实验或上机内容五、课程目标达成方法六、考核标准本门课程考核包括6个部分,分别为考试、作业、实验、讨论和测验。
具体要求及评分方法如下:1、期末考试试卷知识点要求2、作业3、实验4、讨论设置讨论课一次,要求学生按照讨论题目分组查阅资料,归纳总结,撰写报告。
5、测验随堂测验,老师给出题目,学生回答。
具体有任课老师给出评分标准。
七、教材及主要参考资料[1] 黑马程序员. Java基础入门(第2版)[M]. 清华大学出版社, 2018.[2] 郑人杰、马素霞、殷人昆. 软件工程概论(第2版)[M]. 机械工业出版社,2016.[3] Gay S.Horstmann. Java核心技术(第10版)[M]. 机械工业出版社,2016.[4] Y.Daniel Liang(美). Java语言程序设计(第10版)[M]. 机械工业出版社.2015.[5] 李刚. 疯狂Java讲义(第4版)[M]. 电子工业出版社,2018.[6] 封亚飞. 揭秘Java虚拟机[M]. 电子工业出版社,2017.[7] Bruce Eckel(美). Java编程思想(第4版)[M]. 机械工业出版社,2007.。
niit课程设计一、课程目标知识目标:1. 学生能够理解NIIT课程的基本概念,掌握计算机编程的基本语法和结构。
2. 学生能够描述软件开发的过程,了解软件工程的基本原则和方法。
3. 学生能够掌握计算机信息处理的基本原理,了解数据结构和算法的基本概念。
技能目标:1. 学生能够运用NIIT课程所学编程语言编写简单的程序,解决实际问题。
2. 学生能够运用软件工程方法,进行需求分析、设计、编码和测试等软件开发过程。
3. 学生能够运用数据结构和算法知识,优化程序性能,提高解决问题的效率。
情感态度价值观目标:1. 学生培养对计算机科学的兴趣和热情,树立良好的信息素养。
2. 学生培养团队协作意识,学会与他人共同解决问题,提高沟通与协作能力。
3. 学生培养创新思维和解决问题的能力,树立勇于挑战、持续学习的信心。
课程性质:本课程为实践性较强的课程,注重培养学生的动手操作能力和实际应用能力。
学生特点:学生具备一定的计算机基础,对编程和软件开发有一定兴趣,希望深入学习相关知识。
教学要求:结合NIIT课程特点,以案例教学为主,注重理论与实践相结合,充分调动学生的主观能动性,培养学生的实际操作能力和解决问题的能力。
通过本课程的学习,使学生能够掌握计算机编程的基本技能,为后续专业课程打下坚实基础。
二、教学内容本课程教学内容主要包括以下几部分:1. 计算机编程基础:涵盖数据类型、变量、运算符、控制结构(分支、循环)等基本概念和语法,以教材第二章内容为主。
2. 面向对象编程:介绍类与对象、继承、多态、封装等面向对象的基本原理,结合教材第三章进行讲解。
3. 软件工程:讲解软件开发过程中的需求分析、设计、编码、测试等阶段,以教材第四章为参考。
4. 数据结构与算法:介绍线性表、树、图等基本数据结构,以及排序、查找等基本算法,以教材第五章和第六章为主要内容。
5. 实践项目:结合教材内容,设计实际案例,让学生动手实践,巩固所学知识。
教学进度安排如下:第一周:计算机编程基础(第二章)第二周:面向对象编程(第三章)第三周:软件工程(第四章)第四周:数据结构与算法(第五章和第六章)第五周:实践项目与总结教学内容具有科学性和系统性,以教材为依据,注重理论与实践相结合,旨在帮助学生全面掌握NIIT课程知识,提高实际编程能力。