Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
International Journal of Engineering Technology, Management and Applied Sciences www.ijetmas.com November 2014, Volume 2 Issue 6, ISSN 2349-4476 ONLINE JAVA COMPILER USING CLOUD COMPUTING Aarushi Verma Namita Garg Dept. Computer Science [email protected] Dept. Computer Science [email protected] ABSTRACT As it is a competitive environment everything is very fast and with the help of internet. In this internet world all the things are on-line. So, we created the software called On-line Java Compiler. The main aim of this project we can easily write a java program compile and debug it on-line easily. The client machine does not having java development kit. The paper aims to describe an online compiler which helps to reduce the problems of portability and storage space by making use of concept of cloud computing. The ability to use different compilers allows the programmer to pick up the faster or the most convenient tool to compile the code and remove the errors. Moreover, a web-based application can be used remotely through any network connection and it is platform independent. The error/output of the code is store in most convenient way. Also, the trouble of installing the compiler on each computer is avoided. KEYWORDS compiler, online computing, computing. INTRODUCTION The main enabling technology for cloud computing is virtualization. Virtualization software allows a physical computing device to be electronically separated into one or more “virtual” devices, each of which can be easily used and managed to perform computing tasks. Fig1. Process of cloud computing 74 Aarushi Verma, Namita Garg International Journal of Engineering Technology, Management and Applied Sciences www.ijetmas.com November 2014, Volume 2 Issue 6, ISSN 2349-4476 A. CHARACTERISTICS ● It is elastic, meaning a user can have as much or as little of a service as they want at any given time. ● The service is fully managed by the provider. The consumer needs nothing but a personal computer and Internet access. ● Agility: ability to re-provision technological infrastructure resources ● Application Programming Interface (API): accessibity to software that enables machines to interact with cloud software. ● Cost ● Device and Location Independence: enable users to access systems using a web browser regardless of their location ● Maintenance ● Multitenancy: enables sharing of resources and cost across a large pool of users. ● Security: can improve due to centralization of data. B. SERVICES OF CLOUD COMPUTING 1) Software as a service (SaaS): Cloud based application-or software as a service (SaaS)-run on distant computers “in the cloud “that are owned and operated by other and that connected to user ‘computers via the internet and, usually, a web browser. 2) Platform as a service (PaaS): Platform as a service provides a cloud-based environment with everything required to support the complete life cycle of building and delivering web-based (cloud) application-without the cost and complexity of buying and managing the underlying hardware, software, provisioning and hosting. 3) Infrastructure as a service (IaaS): Infrastructure as a service provides companies with computing resources including servers, networking, storage, and data centre space on a pay-peruse basis. II. SYSTEM DESIGN Technology is applied to generate online java compiler using cloud computing using three tier structure. A. DATA LAYER (Backend): Available in the web server which contains account information about the user. B. Business Layer (Middle end): Decision making layer from the application layer. C. Application layer (Frontend): User interface, showing data to the user getting input from the user. D. Compile Option: This would take the code into textbox to the server side for its compilation and at the server side the compiler package has been imported. 75 Aarushi Verma, Namita Garg International Journal of Engineering Technology, Management and Applied Sciences www.ijetmas.com November 2014, Volume 2 Issue 6, ISSN 2349-4476 E. Execute Option: The user is provided within links of all executables files that we represent in his/her folder and were already compiled at least once without errors. III. ADVANTAGES OF ONLINE JAVA COMPILER 1. They are self-contained units ready to be executed. 2. They are already compiled into machine language binaries. 3. There is no second application or package that the user has to keep up-to-date. 4. If a program compiled for windows on an x86 architecture, the end user only needs a windows operating system. 5. A pre-compiled package can run faster than an interpreter compiling source code in a real time. IV. DISADVANTAGES OF ONLINE JAVA COMPILER 1. A compiler translates the source code into specific machine language. 2. Programs have to specifically compiled for OS x, Windows and Linux, as well as specifically for 32-bit or 64-bit architectures. 3. Problems for maintaining multiple versions of the source code for the same application. 4. More time spent on source code maintenance, extra trouble when updates are released. V. IMPLEMENTATION The online java compiler provides a feature that enables the output of source code in multiprogramming languages at run time, based on a single model that represent the code to render. We can generate assemblies dynamically at runtime and execute. It was assume that the user will use his/her favorite text editor to create and correct programfiles. This assumption allowed to create very simple front end that loads quickly and is platform independent. Although the frontend is designed to be as simple as possible with only a few commonly used options, it is sufficiently functional and can be used quickly.Check whether the the text area is empty or not.If it is empty , display the warning message. Otherwise, use CompileResultClass to represent the of compilation, that are returned from the compiler, CompilerErrorClass to represent a compiler error or warning and CompilerParameterClass to represent the parameters to invoke the compiler. After successful compilation compiler generate either .classfile. The .classfile produce the desired output for the given source code. Fig2. Working of the compiler VI. CONCLUSION 76 Aarushi Verma, Namita Garg International Journal of Engineering Technology, Management and Applied Sciences www.ijetmas.com November 2014, Volume 2 Issue 6, ISSN 2349-4476 As compared to the current scenario where each machine need to install the compiler separately. This would eliminate the need to install the compiler separately. So, we can check the code at the centralized server. Another advantage of this project is that whenever the compiler package is upgraded it can be done easily without again installing it on each and every machine. Fig3.Represents the WORA(Write Once Run Anywhere) technology REFERENCES [1] Cong Wang, Qian Wang, Kui Ren, and Wenjing Lou,‖Privacy-Preserving Public Auditing for Data Storage Security in Cloud Computing‖ in IEEE INFOCOM 2010, San Diego, CA, March 2010 [2] R.L. Rivest, A. Shamir, and L. Adleman. A method for obtaining digital signatures and public-key cryptosystems. Communications of the ACM, 21(2):120-126, 1978. [3] M.J. Wiener. Cryptanalysis of short RSA secret exponents. Information Theory, IEEE Transactions on, 36(3):553-558, 2002. [4] C. Alison and C.A.M. Paixao. An efficient variant of the RSA cryptosystem. 2003. [5] C.S. Laih and W.C. Kuo. New signature schemes based on factoring and discrete logarithms. IEICE TRANSACTIONS. [6] Chappell D. (2008). Virtualization for Windows: A Technology Overview, Chappell & Associates. [7] Wannous M. (2010). NVLab, a Networking Virtual Web-Based Laboratory that Implements Virtualization and Virtual Network Computing Technologies, IEEE transactions on learning technologies”, 3, 129-138.Associates. [8] Aamir Nizam Ansari, Siddharth Patil, Arundhati Navada, Aditya Peshave, Venkatesh Borole, Online C/C++ Compiler Using Cloud Computing System , Multimedia Technology (ICMT), July 2011 International Conference, pp.3591-3594. 77 Aarushi Verma, Namita Garg