Vous êtes sur la page 1sur 6

International Journal of Computer Engineering and Technology (IJCET), ISSN 0976-6367(Print), INTERNATIONAL JOURNAL OF COMPUTER ENGINEERING & ISSN

0976 - 6375(Online), Volume 4, Issue 5, September - October (2013), IAEME

TECHNOLOGY (IJCET)

ISSN 0976 6367(Print) ISSN 0976 6375(Online) Volume 4, Issue 5, September October (2013), pp. 09-14 IAEME: www.iaeme.com/ijcet.asp Journal Impact Factor (2013): 6.1302 (Calculated by GISI) www.jifactor.com

IJCET
IAEME

AGENT BASED WEB SERVICE COMMUNICATING DIFFERENT ISS AND PLATFORMS


Shaymaa mohammed jawad kadhim Research Student, BVUCOE, Pune. Ministry of transport, Iraq Dr. Shashank Joshi Professor, BVDUCOE, Pune

ABSTRACT Nowadays, in a globalized and dynamic world - many companies use different platforms, OS, legacy software and hardware. All these different technologies may need to integrate and communicate with each other without effecting their own performance and with minimal costs. In this paper we will introduce two different ISs to communicate with each other by using agent based Web services. Keywords: IS, Legacy Software, Agent Based Web Service, Web Service, Performance. 1. INTRODUCTION Many companies form such different sectors like financial, educational, scientific are in need of IS and service-based web applications. Due to globalization many of these companies are merging rapidly. These mergers often requires the integration of old legacy systems into new and efficient IS. Where the Legacy system is considered no longer economical, technology, computer- system, or application- . The legacy system may or may not remain in use. But even if it is no longer used, it may continue to impact the organization due to its historical role. Historic data may not have been converted into the new system format and may exist within the new system with the use of a customized schema crosswalk, or may exist only in a data warehouse. In either case, the effect on business intelligence and operational reporting can be significant. For a variety of reasons, a legacy system may continue to be used, sometimes well past its vendor-supported lifetime, resulting in support and maintenance challenges. It may be that the system still provides for the users' needs, even though newer technology or more efficient methods of performing a task are now available. However, the decision to keep an old system may be influenced by economic reasons such as return
9

International Journal of Computer Engineering and Technology (IJCET), ISSN 0976-6367(Print), ISSN 0976 - 6375(Online), Volume 4, Issue 5, September - October (2013), IAEME

on investment challenges or vendor lock-in, the inherent challenges of change management, or a variety of other reasons other than functionality. A legacy system may include procedures or terminology which are no longer relevant in the current context, and may hinder or confuse understanding of the methods or technologies used [2]. While Web information system, is an information system that uses internet web technology to deliver information and services to users or other information system / application. It is a software system whose main purpose is to publish and maintain data by using hypertext-based principles. A web information system consists of one or more web applications, together with information components and other non-web components. A web browser is used as front-end whereas a database servers as back-end New Information systems must provide better security than legacy systems but at the same time it should not decrease the performance [3]. There are many approaches to make different legacy systems to communicate with each others. The main approaches which are: 1) Introducing a wrapper: can inject code into legacy a IS allows it to communicate with the requester. 2) Using a transducer, which accepts messages from the requester, translates them into the program's native language and protocol, and passes them on to the legacy IS. [4] In this paper we will focus on agent based web services as a solution for this issue_. The solution is platform independent. In a first step it will discover and determine the different architectures. In a second step it will make these two platforms communicate with each others. 2. PREVIOUS WORKS 1. 2. 3. 4. 5. 6. The paper [5] describes how web- based services becomes more agent-like and how the result of this will yield. The paper [6] presents an integration of agent -mobile and the web services technology. The paper [7] proposes an agent-based web services architecture and apply to augment manufacturability to increase the efficiency of the distributed collaboration. The paper [8] presents some agent-based and context-oriented approach for web services composition. The paper [9] presents a gateway architecture for connecting software agents and Web services in a transparent manner with fully automatic operation. The paper [10] describes a solution for pro-active Web services composition and selection.

3. PROPOSED ARCHITECTURE In this paper we used an agent based web services for making two independent platforms to communicate with each other in two steps: - In a first step: it will discover and determine the different architectures. - In a second step the two platforms communicate with each others. 3.1 DISCOVERIG THE TYPE OF OPERATING SYSTEM ARCHITECTURE. There are many ways and methods that can be used to discover the different in architecture of operating systems, and these methods depend on the type of Operating system that may used. We are facing a lot of different operating systems used, such as Unix (it is a powerful, multiuser environment that has been implemented on a variety of platforms. Once the domain of servers and advanced users, it has become accessible to novices as well through the popularity of Linux and
10

International Journal of Computer Engineering and Technology (IJCET), ISSN 0976-6367(Print), ISSN 0976 - 6375(Online), Volume 4, Issue 5, September - October (2013), IAEME

Mac OS X. With the notable exception of Microsoft Windows, all current major operating systems have some kind of Unix at their cores) [11]. A Linux-based system is a modular Unix-like operating system. It derives much of its basic design from principles established in Unix during the 1970s and 1980s. Such a system uses a monolithic, the Linux kernel, which handles process control, networking, and peripheral and file system access. Device drivers are either integrated directly with the kernel or added as modules loaded while the system is running [12]. Microsoft Windows is a series of graphical interface operating system developed, marketed and sold by Microsoft. Microsoft introduced an operating environment named Windows on November 20, 1985 as a graphical operating system shell for MS-DOS in response to the growing interest in graphical user interfaces (GUI). Microsoft Windows came to dominate the world's personal computer market with over 90% market share, overtaking Mac OS, which had been introduced in 1984, As of April 2013, the most recent versions of Windows for personal computers, mobile devices, server computers and devices are respectively Windows 8, Windows Phone 8, Windows Server 2012 and Windows Embedded 8 [13]. In this paper we will focus on windows7 version with two different architectures, the 32bit architecture and 64bit architecture, There are many methods which can be used to discover and determine the specific type of operating system architecture, such as: 1. Read information from the Windows Registry, this is very easy; you only have to use the Registry class in .NET. 2. Use environment variables. However, it does not supply you with additional details you might want. For example: There is no way to detect Windows 7 editions. 3. Use the Windows Management Instrumentation (WMI) query, WMI gives you everything you possibly might need in one single shot, and just require a few lines of code. WMI is not supported in older versions of the Windows NT Kernel (but this is becoming less of a problem nowadays). 4. There is a fourth method, which is to use the OS Version property in .NET found under the Environment class. 5. Another solution that is also available, is (Environment.Is64BitOperatingSystem). However, this works only in .NET Framework 4.0 and apps made with .NET Framework 4. In this paper we are going to apply the forth method, which is, the PROCESSOR_ARHITECTURE. It is not a hardware processor; it is referring to the processor that the OS software was made for. PROCESSOR_ARCHITECTURE is the set of combinations Portable Executable Kinds and Image File Machine that describes valid PE file types for managed code. The algorithm of using this function is: String arch = Environment.GetEnvironmentvariable (processor_Architecture); If (Arch.IndexOf (64) >0)) Then // architecture of operating system is 64Bit; Else // architecture of operating system is 32Bit;

11

International Journal of Computer Engineering and Technology (IJCET), ISSN 0976-6367(Print), ISSN 0976 - 6375(Online), Volume 4, Issue 5, September - October (2013), IAEME

The block diagram of this algorithm is shown in figure (1) below:

Fig (1): block diagram of the algorithm Figure(2) below shows the output or the result of a program which will try to implemented it in windows 7 but 32bit architecture , the return value of Arch.IndexOf(64) will be (-1) , whereas in 64bit architecture will be more than (0).

Fig (2) 3.2


TWO INDEPENDENT SYSTEMS COMMUNICATE WITH EACH OTHER BY USING AGENT BASED WEB SERVICE

There are several ways to make two independent operating systems to communicate with each other .The choice of which of these methods is more effective and practical, mainly depends on the type and architecture of the operating systems themselves. As pointed out before there are many operating systems (as we mentioned in previous paragraph) , but in this paper we chose Windows7 but with different architectures 32bit and 64bit , and the old one without any providing security while the new one will provide security by using one of Cryptography algorithm, these methods are : 1) Introducing the Transducer, accepts messages from the requester, translates them into the program's native language and protocol, and passes them on to the legacy IS. 2) The second one, introducing the wrapper, can inject code into a legacy IS to allow it to communicate with the requester.
12

International Journal of Computer Engineering and Technology (IJCET), ISSN 0976-6367(Print), ISSN 0976 - 6375(Online), Volume 4, Issue 5, September - October (2013), IAEME

3) The third solution that is, Rewriting [1], 4) forth one is by using agent based web service ,which will used in this paper , This web service consists from methods which are used to check the current operating system and according to this detecting , it will call particular a web service. In this paper agent based web services are used to make two independent operating systems windows7 32bit and windows7 64bit communicate with each other by using three models . These models are: First model: Web service (legacy Information System) This web service is mainly used to fetch data from the server using 32 bit windows environment. This web service will also check current system hardware details and accordingly will call respective web service. This Web service will contain the methods which can be run only on legacy systems. The coding will be according to the legacy system platform and technology. E.g. .32 bit operating system platform. This Web service will pass the variables/messages without any encryption or decryption and thus providing less security. Second model: Web Service (New Information System) This is new web service which is improved by adding features like Encryption, giving Instant messages of user activities, sending mails etc. In this web service all the methods will be implemented using new technology in new legacy system. This web service will pass the variables/messages in an encrypted format and it will return decrypted messages. Third model: This web service will contain a method which is used to check the current hardware platform, Depending on the detected platform, it will call a particular web service. It is responsible for selecting the proper web service from the community of web services. A community is a container that clusters Web services based on a specific area of interest. All Web services that belong to a given community share the same area of interest. As shown in figure(3) below , the general architecture of the work .

Fig (3): the general work architecture


13

International Journal of Computer Engineering and Technology (IJCET), ISSN 0976-6367(Print), ISSN 0976 - 6375(Online), Volume 4, Issue 5, September - October (2013), IAEME

4. CONCLUSION In this paper we have created and applied a new agent based web service, it is used to provide communication between two web services, one of them is in old operating system without security, whereas the other one is in a new operating system containing security features. The agent based web service contains methods which can be used to check current platform. Depending on the detected platform, it will call particular web service. 5. FUTURE WORK Customer satisfaction is the main aim of every system. We should provide a better and faster system to the customer. In our system we provide better communicate between old and new operating systems and platforms without reducing the performance, all aims should be reached at minimal expenses. Our future work will focus on necessary hardware improvements in new IS to gain same performance which we get in old legacy system and provide better security also. 6. REFERENCE [1] Ss. Cyril and Methodius University / Faculty of Natural Science and Mathematics - Institute of Informatics, Gazi Baba BB., Security Based Performance Issues in Agent-based Web Services Integrating Legacy Information Systems, http://en.wikipedia.org/wiki/Legacy_system http://en.wikipedia.org/wiki/Web_information_system. Genesereth, M. R., Ketchpel, S. P.: Software Agents. In: Communication of the ACM, Vol.37, No. 7 July (1994). Huhns, M.N.: Software Agents: The Future of Web Services. In: Kowalczyk, R. et al.(Eds.): Agent Technology Workshops 2002, LNAI 2592, pp. 118, 2003. Springer, Heidelberg (2003). Zhang, J., Wang, Y., Varadharajan, V.: Mobile Agent and Web Service Integration Security Architecture. In: SOCA '07 Proceedings of the IEEE International Conference on ServiceOriented Computing and Applications. IEEE Computer Society Washington, DC, USA (2007). Huang, C., Tseng, T., Gung, R. R., Chang H.: An agent-based web services solution to collaborative product design. International Journal of Knowledge-based and Intelligent Engineering Systems, Vol. 9, n. 2, p.63--79, (2005). Maamar, Z., Mostefaoui, S.K., Yahyaoui, H.: Toward an Agent-Based and Context-Oriented Approach for Web Services Composition. J. IEEE Transactions on Knowledge and Data Engineering, Vol. 17, No. 5, 686--697, (2005). Greenwood, D., Calisti, M.: Engineering Web Service Agent Integration. In: IEEE Systems, Cybernetics and Man Conference, vol.2, pp 1918--1925, The Hague, Netherlands, (2004) Matskin, M., Kngas, P., Rao, J., Sampson, J., etersen, S.A.: Enabling Web Services Composition with Softward Agents. In IMSA (2005) pp 93--98 kb.iu.edu/ Unix en.wikipedia.org/wiki/ Linux en.wikipedia.org/wiki/Microsoft_Windows Asfa Praveen and Shamimul Qamar, Framework for Service Oriented Development of Monolithic Legacy Software, International Journal of Computer Engineering & Technology (IJCET), Volume 4, Issue 2, 2013, pp. 373 - 378, ISSN Print: 0976 6367, ISSN Online: 0976 6375.
14

[2] [3] [4] [5]

[6]

[7]

[8]

[9]

[10] [11] [12] [13] [14]

Vous aimerez peut-être aussi