{"title":"基于J2ME和J2EE的BnB在线手机游戏","authors":"Quanyin Zhu, Lijuan Zhao, Suqun Cao, Jianchun Shen, Shuai Zhang","doi":"10.1109/SERA.2009.10","DOIUrl":null,"url":null,"abstract":"Through the example of Bubble and Bubble (BnB) mobile game, the whole development process of mobile game based on J2ME and J2EE is showed. First, Game API in the Mobile Information Device Profile-MIDP-2.0 is used to build the game engine. Through the optimization and compatibility design of process, middleware framework is selected. Second, the game classes and components design is introduced in detail. Third, the server performance for detonation on the client, the communications time between the clients with the server and the procedure performance of the server have been tested. Various techniques, such as object pool, multi-threaded, socket connection, sprite, Maps etc., are applied in BnB's development. Experiment demonstrates its performance and proves this case is meaningful and useful for other online mobile game development. Some propositions for further research is also suggested.","PeriodicalId":333607,"journal":{"name":"2009 Seventh ACIS International Conference on Software Engineering Research, Management and Applications","volume":"41 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":"{\"title\":\"A BnB Mobile Game Online Based on J2ME and J2EE\",\"authors\":\"Quanyin Zhu, Lijuan Zhao, Suqun Cao, Jianchun Shen, Shuai Zhang\",\"doi\":\"10.1109/SERA.2009.10\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Through the example of Bubble and Bubble (BnB) mobile game, the whole development process of mobile game based on J2ME and J2EE is showed. First, Game API in the Mobile Information Device Profile-MIDP-2.0 is used to build the game engine. Through the optimization and compatibility design of process, middleware framework is selected. Second, the game classes and components design is introduced in detail. Third, the server performance for detonation on the client, the communications time between the clients with the server and the procedure performance of the server have been tested. Various techniques, such as object pool, multi-threaded, socket connection, sprite, Maps etc., are applied in BnB's development. Experiment demonstrates its performance and proves this case is meaningful and useful for other online mobile game development. Some propositions for further research is also suggested.\",\"PeriodicalId\":333607,\"journal\":{\"name\":\"2009 Seventh ACIS International Conference on Software Engineering Research, Management and Applications\",\"volume\":\"41 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2009-12-02\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"4\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2009 Seventh ACIS International Conference on Software Engineering Research, Management and Applications\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/SERA.2009.10\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2009 Seventh ACIS International Conference on Software Engineering Research, Management and Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SERA.2009.10","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4
摘要
通过Bubble and Bubble (BnB)手机游戏的开发实例,展示了基于J2ME和J2EE的手机游戏的整个开发过程。首先,使用移动信息设备配置文件- midp -2.0中的游戏API构建游戏引擎。通过流程的优化和兼容性设计,选择中间件框架。其次,详细介绍了游戏类和组件的设计。第三,测试了在客户端上引爆的服务器性能、客户端与服务器之间的通信时间以及服务器的程序性能。BnB的开发采用了对象池、多线程、套接字连接、精灵、地图等多种技术。实验证明了该方法的有效性,对其他网络手机游戏的开发具有一定的借鉴意义。并提出了进一步研究的建议。
Through the example of Bubble and Bubble (BnB) mobile game, the whole development process of mobile game based on J2ME and J2EE is showed. First, Game API in the Mobile Information Device Profile-MIDP-2.0 is used to build the game engine. Through the optimization and compatibility design of process, middleware framework is selected. Second, the game classes and components design is introduced in detail. Third, the server performance for detonation on the client, the communications time between the clients with the server and the procedure performance of the server have been tested. Various techniques, such as object pool, multi-threaded, socket connection, sprite, Maps etc., are applied in BnB's development. Experiment demonstrates its performance and proves this case is meaningful and useful for other online mobile game development. Some propositions for further research is also suggested.