8 resultados para JAVA Socket

em BORIS: Bern Open Repository and Information System - Berna - Suiça


Relevância:

20.00% 20.00%

Publicador:

Resumo:

Java Enterprise Applications (JEAs) are large systems that integrate multiple technologies and programming languages. Transactions in JEAs simplify the development of code that deals with failure recovery and multi-user coordination by guaranteeing atomicity of sets of operations. The heterogeneous nature of JEAs, however, can obfuscate conceptual errors in the application code, and in particular can hide incorrect declarations of transaction scope. In this paper we present a technique to expose and analyze the application transaction scope in JEAs by merging and analyzing information from multiple sources. We also present several novel visualizations that aid in the analysis of transaction scope by highlighting anomalies in the specification of transactions and violations of architectural constraints. We have validated our approach on two versions of a large commercial case study.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

After decades of development in programming languages and programming environments, Smalltalk is still one of few environments that provide advanced features and is still widely used in the industry. However, as Java became prevalent, the ability to call Java code from Smalltalk and vice versa becomes important. Traditional approaches to integrate the Java and Smalltalk languages are through low-level communication between separate Java and Smalltalk virtual machines. We are not aware of any attempt to execute and integrate the Java language directly in the Smalltalk environment. A direct integration allows for very tight and almost seamless integration of the languages and their objects within a single environment. Yet integration and language interoperability impose challenging issues related to method naming conventions, method overloading, exception handling and thread-locking mechanisms. In this paper we describe ways to overcome these challenges and to integrate Java into the Smalltalk environment. Using techniques described in this paper, the programmer can call Java code from Smalltalk using standard Smalltalk idioms while the semantics of each language remains preserved. We present STX:LIBJAVA - an implementation of Java virtual machine within Smalltalk/X - as a validation of our approach

Relevância:

20.00% 20.00%

Publicador:

Resumo:

Java Enterprise Applications (JEAs) are complex systems composed using various technologies that in turn rely on languages other than Java, such as XML or SQL. Given the complexity of these applications, the need to reverse engineer them in order to support further development becomes critical. In this paper we show how it is possible to split a system into layers and how is possible to interpret the distance between application elements in order to support the refactoring of JEAs. The purpose of this paper is to explore ways to provide suggestions about the refactoring operations to perform on the code by evaluating the distance between layers and elements belonging those layers. We split JEAs into layers by considering the kinds and the purposes of the elements composing the application. We measure distance between elements by using the notion of the shortest path in a graph. Also we present how to enrich the interpretation of the distance value with enterprise pattern detection in order to refine the suggestion about modifications to perform on the code.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

PURPOSE The aim of this work was to study the peri-implant soft tissues response, by evaluating both the recession and the papilla indexes, of patients treated with implants with two different configurations. In addition, data were stratified by tooth category, smoking habit and thickness of buccal bone wall. MATERIALS AND METHODS The clinical trial was designed as a prospective, randomized-controlled multicenter study. Adults in need of one or more implants replacing teeth to be removed in the maxilla within the region 15-25 were recruited. Following tooth extraction, the site was randomly allocated to receive either a cylindrical or conical/cylindrical implant. The following parameters were studied: (i) Soft tissue recession (REC) measured by comparing the gingival zenith (GZ) score at baseline (permanent restoration) with that of the yearly follow-up visits over a period of 3 years (V1, V2 and V3). (ii) Interdental Papilla Index (PI): PI measurements were performed at baseline and compared with that of the follow-up visits. In addition, data were stratified by different variables: tooth category: anterior (incisors and canine) and posterior (first and second premolar); smoking habit: patient smoker (habitual or occasional smoker at inclusion) or non-smoker (non-smoker or ex-smoker at inclusion) and thickness of buccal bone wall (TB): TB ≤ 1 mm (thin buccal wall) or TB > 1 mm (thick buccal wall). RESULTS A total of 93 patients were treated with 93 implants. At the surgical re-entry one implant was mobile and then removed; moreover, one patient was lost to follow-up. Ninety-one patients were restored with 91 implant-supported permanent single crowns. After the 3-year follow-up, a mean gain of 0.23 mm of GZ was measured; moreover, 79% and 72% of mesial and distal papillae were classified as >50%/ complete, respectively. From the stratification analysis, not significant differences were found between the mean GZ scores of implants with TB ≤ 1 mm (thin buccal wall) and TB > 1 mm (thick buccal wall), respectively (P < 0.05, Mann-Whitney U-test) at baseline, at V1, V2 and V3 follow-up visits. Also, the other variables did not seem to influence GZ changes over the follow-up period. Moreover, a re-growth of the interproximal mesial and distal papillae was the general trend observed independently from the variables studied. CONCLUSIONS Immediate single implant treatment may be considered a predictable option regarding soft tissue stability over a period of 3 years of follow-up. An overall buccal soft tissue stability was observed during the GZ changes from the baseline to the 3 years of follow-up with a mean GZ reduction of 0.23 mm. A nearly full papillary re-growth can be detectable over a minimum period of 2 years of follow-up for both cylindrical and conical/cylindrical implants. Both the interproximal papilla filling and the midfacial mucosa stability were not influenced by variables such as type of fixture configuration, tooth category, smoke habit, and thickness of buccal bone wall of ≤ 1 mm (thin buccal wall).

Relevância:

20.00% 20.00%

Publicador:

Resumo:

Subtype polymorphism is a cornerstone of object-oriented programming. By hiding variability in behavior behind a uniform interface, polymorphism decouples clients from providers and thus enables genericity, modularity and extensi- bility. At the same time, however, it scatters the implementation of the behavior over multiple classes thus potentially hampering program comprehension. The extent to which polymorphism is used in real programs and the impact of polymorphism on program comprehension are not very well understood. We report on a preliminary study of the prevalence of polymorphism in several hundred open source software systems written in Smalltalk, one of the oldest object-oriented programming languages, and in Java, one of the most widespread ones. Although a large portion of the call sites in these systems are polymorphic, a majority have a small number of potential candidates. Smalltalk uses polymorphism to a much greater extent than Java. We discuss how these findings can be used as input for more detailed studies in program comprehension and for better developer support in the IDE.