Monday, January 27, 2020
Jax Ws And Its Comparison With Axis2 Information Technology Essay
Jax Ws And Its Comparison With Axis2 Information Technology Essay In todays world with the rise in development of newer and newer different stand-alone applications, the organizations and enterprises faces the difficulty in integrating all these incompatible applications for the ease of their business. In order to overcome this technical complexity more and more enterprises have started implementing the Web Services to make these heterogeneous applications work together. Web Services can be defined as the application components that can be accessed over the network. Web Services makes the applications compatible by providing cross-platform interaction possible. Web Services provides a means of communication for applications developed in different programming languages using different technologies and running on different platforms. Thus, Web Services introducing interaction between such widely different applications makes the applications more flexible, loose and compatible. In todays trend of Service Oriented Architecture, Web Services play an important role. These Web Services functionalities are accessible using standard internet protocols. The keywords related to Web Services are HTTP, SOAP, WSDL, XML and UDDI. Any Web Service is defined in XML format, known as the Web Service Description Language. The service provider registers its services in the Universal Description Discovery and Integration (UDDI). The service requestor looks into the UDDI for a particular service. The client then uses a particular WSDL and its service end point to establish a connection with the service provider. The client establishes the communication by sending SOAP (Simple Object Access Protocol) messages over the HTTP (Hypertext Transfer Protocol). There are many web services framework available such as Spring framework, Apache Axis2, Apache CXF, JAX WS, JAX RPC etc. This paper throws some light on JAX WS and Apache Axis2. JAX-WS (JAVA API for XML-based Web Services) JAX WS provides the Java API for creating and developing XML-based Web Services. JAX WS is the successor of JAX RPC (Java API for XML-based Remote Procedure Calls). Many enhancements and developments have been introduced in JAX WS from the JAX RPC mechanism. The main difference between these two mechanisms is that the JAX RPC provides call interface web services whereas the JAX WS provides the document style web services. JAX WS is the sun standard for the implementation of Web Services. Many big companies like Yahoo!, Google, Amazon do use JAX WS for the implementation of Web Services. The JAX WS architecture unlike its forerunner also supports message based services along with remote procedure based services using the SOAP for communication. JAX WS Implementation Java API for XML-based Web Services makes it easier for developing XML-based Web Services using the Java programming Language. JAX WS supports its own implementation of JAX WS programming model and does not support Axis2 programming model. JAX WS defines model for developing application handlers that deals with data during Web Services runtime. The JAX WS converts the calls matching it with the SOAP messages. Annotations used in the JAX WS simplify the deployment and development of these Web Services, their service end points and the service requestors, clients. JAX WS requires Java EE 5 or later version of Java. JAX WS provides two tools for generating Java artifacts, namely wsimport and wsgen for top-down and bottom-up approaches respectively The wsimport tool is used for the top-down or the contract first approach that is the Java files are created from the WSDL file. And the wsgen tool is used for the bottom-up approach or the code first approach that is the WSDL file is generated from Java classes. JAX WS uses Java annotations to make the simple POJO classes work as the Web Services. For example, the annotation @WebService is used along with a Java class, to declare simple POJO class to act as a Web Service. Considering a simple example import javax.jws.WebService; @WebService pubic class MyService { System.out.println(Hello WORLD); } Advantages The JAX WS 2.0 uses annotations for declaring and attaching any data related to Web Services. Using the annotations makes it simpler for the user to create Web Services. It provides better cross-platform interaction, making the communication platform independence. The JAX WS supports both synchronous and asynchronous calls. JAX WS supports asynchronous polling and callback. Along with SOAP 1.1, the JAX WS 2.0 also supports 1.2 It also supports MTOM (Message Transmission Optimization Mechanism) for dealing with binary data among the Web Services and better optimization of the SOAP messages format. JAX WS supports both REST and SOAP Web Services. Axis2 The Apache Axis is the Web Service project from the Apache Software Foundation. It is an open source web service framework for XML-based web services. The Axis has its implementation in Java and it is being developed in C++. Using Axis2, we can implement Axis framework. The Axis2 is a Web Service container for the Axis framework for creating and developing XML-based Web Services. Axis2, as compared to its forerunner Axis1, has a much better, configured and flexible architecture. It also provides more scalability as well as productivity as compared to axis 1. Axis2 Implementation While creating and developing Web Services, the Ant build tool has an important role in the development process. The WSDL2JAVA and JAVA2WSDl are the two build tools that important for developing the Wed Services. The WSDL2JAVA tool is used for the top-down or the contract first approach that is the Java files are created from the WSDL file. And the JAVA2WSDL tool is used for the bottom-up approach or the code first approach that is the WSDL file is generated from Java classes. For deployment of the Axis2 Web Services, it is necessary to create its own format aar file, and deploy it to the services folder of your axis2. The aar file is similar to a jar file and can be developed using the following command jar -cvf MyService.aar Benefits of using Axis2: Axis2 supports both SOAP and REST Web Services Axis2 also supports both, synchronous and asynchronous calls. Also Axis2 supports Message Transmission Optimization Mechanism for binary data handling. But it has some limit to the size of the binary data it can handle. Comparing Axis2 and JAX WS Axis2 can be considered as more mature framework as compared to JAX WS framework Axis2 supports ADB, JIXB, XMLBeans whereas JAX WS supports only JAXB for binding support. JAX WS supports its own implementation of JAX WS programming model and does not support Axis2 programming model. At the core of Axis2 is the AXIOM, while for JAX WS its the Java Annotations that works as the core JAX WS in transport neutral but the Web Services feature pack only supports HTTP/HTTPS Axis2 and JAX WS both handle the Bottom Up approach equally good The Axis2 supports the Top Down approach a bit better as compared to JAX WS Unlike Axis2, the JAX WS does not require any configuration file such as service.xml. It is all handled by the Java annotations. Conclusion: Comparing these two Web Services frameworks, the choice cannot be deduced to either of the Web Service framework completely, because each one of them has different qualities. The Axis2 has better and more mature architecture as compared to the other one. But at the same time, this adds to the complexity in implementation. Whereas the JAX WS, though a bit immature comparatively, is simpler and easy to implement. Plus, it also has an advantage of being the sun standard for the Web Services implementation, adding a feather to its hat. Thus, depending on the service or implementation to be carried out, the appropriate Web Service framework can be selected, though the JAX WS is comparatively pretty simple to implement.
Sunday, January 19, 2020
A Study of Traumatic Life Events in Link with Obsessive-Compulsive Disorder
Running head: Effect of Traumatic Life Events on OCD A Study of Traumatic Life Events in Link with Obsessive-Compulsive Disorder A Study of Traumatic Life Events in Link with Obsessive-Compulsive Disorder Obsessive-compulsive disorder, OCD, as defined by the National Institute of Mental Health is an anxiety disorder that is distinguished by persistent, unwanted thoughts and/or compulsions (ââ¬Å"NIMH,â⬠2007). OCD is one of the most expensive and persistent forms of psychopathology. Although OCD has been thought of as a fairly rare disorder, recent studies have found that 1. ââ¬â 4% of the population has some form of OCD. While the understanding of this disease has been expanded over the past few decades there still remains much to be learned about the causes and origin of the disease. One factor that is thought to contribute to the onset or intensification of most psychiatric disorders is stressful life events especially traumatic life events (Cromer, Schmidt, & Murphy, 20 06, p. 2). However there has not been significant research on the relationship of stressful life events or traumatic life events with OCD. This study attempts to examine the potential correlations between traumatic life events and OCD, if any at all are present (Cromer, et al. , 2006, p. 3-4). Method A total of 265 participants, being at least eighteen years of age, all with some degree of OCD as their primary disease, participated in this study. Patients with schizophrenia, severe mental retardation, or currently depressed individuals were excluded from this study. The participants were interviewed and tested using four different methods. These methods included the Structured Clinical Interview with the Diagnostic and Statistical Manual of Mental Disorders (SCID), the Yale-Brown Excessive Compulsive scale (Y-BOCS), a traumatic life event measure, and the Beck Depression Inventory (BDI). The SCID interview was carried out by a trained, as well as experienced, interviewer. Two independent doctors then reviewed the results before making their final blind diagnosis. The Y-BOCS measured how severe each participantââ¬â¢s OCD symptoms were in each of the four areas. These areas ncorporated hoarding, ordering/symmetry, checking/obsessions, and cleaning/contamination (Cromer, et al. , 2006, p. 4). The traumatic life event measure was in an interview-like setting, where the participants were given descriptions of various traumatic life events. After each description the participants were asked various questions about their own experiences with similar events. If the participant was still troubled by any of the events the int erviewer would continue with a posttraumatic stress disorder test, regardless if the participant met the qualifications for posttraumatic stress disorder. This was done in order to make sure that all traumatic life events were documented properly. The final test was the Beck Depression Inventory which, through a full set of twenty-one questions, determines whether or not a person is currently depressed and the severity of their depression (Cromer, et al. , 2006, p. 5). Results Out of the 265 patients who participated in this study, 143 of them (roughly 54%) had experienced at least one traumatic life event at the time of the study (Cromer, et al. 2006, p. 1). If more than one event encountered, the participant suffered an increase in the severity of their OCD symptoms. These results remained consistent even when crucial variables, such as age, presence of depression, and the age OCD first began were controlled. Of the four symptoms of OCD that were tested for ordering/symmetry and checking/obsessions were found to have the closest correlation with the presence of traumatic life events (Cromer, et al. , 2006, p. 5). Discussion The results of this study largely support the fact that the symptoms of OCD are intensified by the onset of traumatic life events (Cromer, et al. , 2006, p. 1). However the researchers believe that there still needs to be testing done to clarify the link between OCD and traumatic life events as there may be confounding variables creating false positives. For example, there is a chance that some of the symptoms (ordering/symmetry and checking/obsessions in particular) are linked to other mood and anxiety disorders which could be the cause of the higher correlation in the study (Cromer, et al. 2006, p. 9). To improve on this there would have to be a study done to observe how those symptoms react with other disorders. The traumatic life event data that was collected was based off what the patients could remember from the past. This suggests that this particular data is not entirely accurate. The strength in their research, however, is how the SCID test was performed. Not only were there professional interviewers, their work was double checked by two independent doctors to insure the utmost accuracy. The participants were tested and interviewed in four different ways to accumulate more data to create a more accurate experiment (Cromer, et al. , 2006, p. 4). There is something that the researchers mention that I do not entirely agree with however. Cromer, et al. , says that someone with OCD would be more sensitive to traumatic life events and this would skew the results (2006, p. 10), but it is to my understanding that a traumatic event needs only to be traumatic to the person it is happening to, no matter how another observer may be affected by the same situation. If the event is traumatic to the person they will respond to the event (both mentally and physically) just as another person without OCD would respond to an event that is traumatic to them. References Cromer, K. R. , Schmidt, N. B. , & Murphy, D. L. (2006) An investigation of traumatic life events and obsessive-compulsive disorder. Behavior Research and Therapy 45(7). Retrieved September 23, 2007, from ScienceDirect database. (September 28, 2007). NIMH à · Obsessive-Compulsive Disorder (OCD). Retrieved October 03, 2007, from http://www. nimh. nih. gov/health/topics/obsessive-compulsive-disorder-ocd/index. shtml.
Saturday, January 11, 2020
An Analytical Response to the 1978 film, F. I. S. T. Essay
The plot of the film basically revolve around the life of a worker who desperately seeks a better and a more comfortable life by working hard in a very low-paying job with a management who imposes very harsh and unjust rules and guidelines. The story also deals with the struggles of the workers to earn respect and the right and fair kind of treatment they deserve. The plot centers on the life and struggles of Johnny Kovacââ¬â¢s character which was played by Sylvester Stallone. The character was portrayed as a willful trucker who decided to join the Federation of Interstate Truckers (FIST) to fight and campaign for just treatments among all the countryââ¬â¢s truckers like him (ââ¬Å"F. I. S. T. 1987â⬠). Through out the story, Kovac was challenged by a lot of more powerful individual since he was seen as a very strong threat to their deceptive intentions. He also received a lot of threats and physical tortures since he was actually fighting very powerful people. But despite all these challenges, Kovac was nevertheless able to prove that he is stronger than anyone who opposes his intentions to uplift the lives of simple truckers who just deserve fair treatment from their superiors. This was the major conflict and drive of the story. Kovac, as the main protagonist both serves as a hero and the base character of the story where all the other conflicts and highlights are based from. The story emphasized on Kovacââ¬â¢s principles and his efforts of fighting for their rights as truckers. Kovac and all the other characters in the story were portrayed to be simple and typical people with whom, viewers can easily empathize. However, his defeat and death at the end has put a rather distressing and saddening effect to the story. II. Issues The story was basically about the lives and struggles of truckers. Just like other workers, truckers have rights and privileges that they can demand from their superiors. However in this movie, the workers were rather treated unjustly by the management. They were given inadequate compensation and several unfair rules and regulations have been imposed on them. Kovac, as a trucker himself stood up and fought for his principles and afterwards fought for the influence of the labor union, FIST, which he became part of. The movie had a particular emphasis on the laborerââ¬â¢s rights and privileges. The unjust treatments to these workers portrayed in the film are one manifestation that in the real world, this undeserved treatment is also observable. Through the depiction of this issue it can be implied that some capitalist may really have been so fed up by their wealth that they forget that there are still other important things to consider aside from getting richer and this is the welfare of their workers. And because of this issue, the characters of the movie can be observed to seek for their rights and privileges in a rather aggressive way because of the unpleasant manner their company has used to treat them. The issues were basically about, (1) what implications can unjust treatment and deprivation of privileges causes workers; and (2) how well do labor unions actually help in eliminating the hostile relationships between workers and companies. And because this issue has been depicted to have taken all the patience of the workers, some of them have even developed stronger sense of selfishness and greed. Some also developed greed towards money. Kovac on the other hand became more and more obsessed of recruiting for member to join FIST since he wanted his mission and his intention to voice out the wants of the workers to be accomplished as early as he can. These implications may in some ways appear similar to the effects of unjust treatments to laborers people experience in real life. Just like in this film, people may indeed grow hostile and aggressive once their rights and privileges will be deprived of them. But nonetheless, if there is one lesson that this movie was able to send out, it is the fact that it is never just and acceptable to fight for oneââ¬â¢s principle in destructive ways. III. Discussion In several ways, this movie appears to carry considerable significance to the real occurrences of unjust treatment among workers in the society. In real life, these incidents are undeniable that is why unions exist. However, the arguable thing is this movie is that Kovac and his other colleagues appeared to fight for what they believe in rather hostile and destructive ways which only made the situations worse. Aside from this, a lot of characters were also depicted to be deceived by wealth and power which made them turn their . backs to their moral perspectives. Thus, this can be considered as one of the moral threats unjust treatments can really cause an individual. In its entirety, the movie appears to be a total representation what goes on in a union and how its members fight for what they believe in. But what appears to be an upsetting and disturbing part of the story is the aggression and immorality which brought about . worse situations and events. IV. Opinion Truly, every person in this world deserved fair treatment as every person deserves equal rights and privileges as well. In a company, the relationship of the executive management to the workers can be considered very crucial. In order to form a pleasant relationship between these two, each party must respect and provide the deserved treatment and benefit of the other party. Because once this rule is broken, hostility might definitely spark which will eventually form an unpleasant relationship between the workers and the management. Personally, I think the movie had an interesting inspiration; however, the real message was not that effectively sent out to the viewers because of the distractions that came from all the unnecessary actions and violence portrayed in the film. But nonetheless, I see this film as a good depiction of how worse a situation may get once a workerââ¬â¢s rights and privileges be unjustly deprived from him or her. Works Cited ââ¬Å"F. I. S. T. (1987): Plot Summary. â⬠The Internet Movie Database. IMDb. com. (n. d. ). (14 May 2009). . F. I. S. T. Dir: Norman Jewinson. Writer: Joe Eszterhas and Sylvester Stallone. Cast: Sylvester Stallone, Rod Steiger, Peter Boyle, Melinda Dillon, David Huffman, Kevin Conway and Tony Lo Bianco. Chateau Productions, 1987.
Friday, January 3, 2020
Is Radio Be A Catalyst For Social Change - 950 Words
Throughout history we have been assigned Gender stereotypes by society, especially since the 1940s when the male was seen as the breadwinner, the one who would work, also portrayed by the media as active, decisive, courageous, intelligent and resourceful, whilst the female would take on the housewife mentality which involved keeping up appearances essentially whilst looking after the family, who the media would most often depict as weak, ineffectual, victimised, supportive, laughable or ââ¬Ësimply a token female (lone female in a group of males). In this essay I will be answering the question ââ¬Å"Might Radio be a catalyst for social change?â⬠by essentially pulling apart the gender stereotypes of both male female, doing this will allow us to see how society has developed in terms of attitude and diversity. Using this opportunity it will allow me to explore the feminist movement allowing me to see how its altered societies perception of the way women are portrayed throu ghout the media/radio industry, during which I will also be exploring radio advertising different variations of radio shows which carry the feminist agenda like such shows as Womanââ¬â¢s hour, The Week in Westminster. The media industry has enforced stereotypes for decades, creating trends, multi-media content, toys, perfume, makeup etc. which have been advertised and aimed at these gender stereotypes which still affect children and adults alike. From the 1940ââ¬â¢s+ we have seen heard many gender-based stereotypesShow MoreRelatedWeakness and Greatness in Literature: The Enormous Radio by John Cheever968 Words à |à 4 Pagesthe protagonist tends to create their own tragic flaws resulting in different consequences. In ââ¬Å"The Enormous Radioâ⬠, John Cheever uses moral and personality degeneration to foreshadow Ireneââ¬â¢s changes. On the other hand, in ââ¬Å"A Rose for Emilyâ⬠, William Faulkner uses the changing of values and social experience to explain Emilyââ¬â¢s tragic circumstances. Irene and Emily are lived in different social class. Irene Westcott and her husband, Jim Westcott are a middle class family who earn average income. TheyRead MoreAdvertising And Its Focus On Increasing Consumption Shaped The New Society861 Words à |à 4 PagesThe perceived prosperity of the 1920s was not only misleading, but was the catalyst that changed habits and norms of the American citizen and the American Government that lead to the economic problems soon to occur. One of the first major changes that truly influenced the average American was Advertising and the new idea of Consumerism. ââ¬Å"Advertising and its focus on increasing consumption shaped the new society. President Coolidge considered advertising the most potent influence in adopting and changingRead MoreThe Effects Of Media On Society s Interpretation Of The World s Radio Drama900 Words à |à 4 PagesLITERATURE REVIEW Mass media programs have influenced civilizations for decades. Radio, television, and social media all play apart in shaping societyââ¬â¢s interpretation of the world around them, as well transmitting information that becomes a shared world view among large groups of people. Throughout the years, much research has been completed over how media affects society, and public opinion of the media and its effects has changed drastically over the years. One specific event that many peopleRead MoreRhetorical Analysis : Us And Them1668 Words à |à 7 Pagesthe developed age of 47 years old. The essay can be seen as a nostalgic reflection back to his past, to one of the many worthwhile, valuable, and subtle lessons taught to him by his mother. The author perhaps wrote this specific essay to act as a catalyst for the audience to realize the larger injustices that happen to people around the world like the level of severity in poverty that exists in both undeveloped countries around the worl d and the ignored corners of our own backyards as a result ofRead MoreUnderstanding Do The Right Thing1250 Words à |à 5 Pagesfollows a Brooklyn neighborhood on the hottest day of the year. It largely focuses on the life of Mookie, Played by Lee himself, but has a large cast of personalities including; Radio Raheem, Sal, the owner of the pizzeria Mookie works at, Smiley, Mookieââ¬â¢s girlfriend Tina, Salââ¬â¢s two sons, Bugginââ¬â¢ out, and the local radio DJ. As previously stated, Mookie works for an Italian man named Sal. Mookieââ¬â¢s best friends with Salââ¬â¢s son Vito, however is at odds with his other son, Pino who has a deep dislikeRead MoreThe Horror And Thematic Thrill Of The Zombie1288 Words à |à 6 PagesAs a public discourse, popular narrative engages with social issues expressing a collective critique encouraging or discouraging social conformity. As Drezner states, ââ¬Å"pop culture can have an ââ¬Å"informing effectâ⬠of calling attention t o and framing a particular problem. Popular culture can also have an ââ¬Å"enabling effectâ⬠of providing shorthand references that trigger awareness of a problemâ⬠(Drezner 831). Beneath the horror and thematic thrill of the zombie film franchise, the zombie as a figure inRead MoreWilliam Pollard Once Said, ââ¬Å"Without Change, There Is No1122 Words à |à 5 Pages William Pollard once said, ââ¬Å"without change, there is no innovation, creativity, or incentive for improvement.â⬠Over the last century, the music industry has been reshaped more than one might realize and, like all change, the evolution stemmed from a reflection of the changing times and necessity. As we become more and more technologically advanced, we continue to push the boundaries on how we create, are presented, and receive music. But to understand our current standing, itââ¬â¢s important to lookRead MoreThe Culture Of Popular Culture860 Words à |à 4 Pagesready-made pancake mix that ha s been part of our popular culture for over one hundred years (Manring, 150). The original market was the white American household because of the convenience of making pancakes. Through various media outlets, television, radio, and print advertisements, the Aunt Jemima product has brought a tremendous amount of convenience to the kitchen. ââ¬Å"Aunt Jemima is a guide to how the image of African Americans changed in popular culture over this century, and her own image remainsRead MorePublic Incidents As A Moral Panic1227 Words à |à 5 Pagesof children has instigated much social alarm. A number of media articles (Cameron 2010; Critchley 2009; Doherty 2011; Kermond 2012, Jones Cuneo 2009; Snow 2013; Tuohy 2012) have depicted the sexualisation of children as a prevailing social matter which accentuate concepts represented in moral panic discourse. In everyday practices of reporting public and social events, moral panic frequently becomes elicited by societyââ¬â¢s mass mediate d exaggeration of certain social events. What becomes apparent fromRead MoreFacilities And Lack Of Security For Homeless1457 Words à |à 6 Pagesfacilities and lack of security for homeless are prevalent in rural areas of Bangladesh. (Bangladesh National Policy Framework for Womenââ¬â¢s Empowerment and Gender Equality, 2000). Empowerment will expand womenââ¬â¢s human and social capabilities, their assets and authority over the assets. According to World Bank (2002) empowerment is the expansion of assets and capabilities of poor people to participate in. negotiate with, influence, control and hold accountable institutions that affect lives. The capabilities
Subscribe to:
Posts (Atom)