110,270 research outputs found

    Transparent Persistence with Java Data Objects

    Full text link
    Flexible and performant Persistency Service is a necessary component of any HEP Software Framework. The building of a modular, non-intrusive and performant persistency component have been shown to be very difficult task. In the past, it was very often necessary to sacrifice modularity to achieve acceptable performance. This resulted in the strong dependency of the overall Frameworks on their Persistency subsystems. Recent development in software technology has made possible to build a Persistency Service which can be transparently used from other Frameworks. Such Service doesn't force a strong architectural constraints on the overall Framework Architecture, while satisfying high performance requirements. Java Data Object standard (JDO) has been already implemented for almost all major databases. It provides truly transparent persistency for any Java object (both internal and external). Objects in other languages can be handled via transparent proxies. Being only a thin layer on top of a used database, JDO doesn't introduce any significant performance degradation. Also Aspect-Oriented Programming (AOP) makes possible to treat persistency as an orthogonal Aspect of the Application Framework, without polluting it with persistence-specific concepts. All these techniques have been developed primarily (or only) for the Java environment. It is, however, possible to interface them transparently to Frameworks built in other languages, like for example C++. Fully functional prototypes of flexible and non-intrusive persistency modules have been build for several other packages, as for example FreeHEP AIDA and LCG Pool AttributeSet (package Indicium).Comment: Talk from the 2003 Computing in High Energy and Nuclear Physics (CHEP03), La Jolla, Ca, USA, March 2003. PSN TUKT00

    Evaluating Lossy Collections for Java Applications

    Get PDF
    We propose to remove live objects from near-full heaps to reduce memory pressure. We modify Java Collections to enable lossy behavior. Some DaCapo benchmarks tolerate an amount of live data loss

    Java facilities in processing XML files - JAXB and generating PDF reports

    Get PDF
    The paper presents the Java programming language facilities in working with XML files using JAXB (The Java Architecture for XML Binding) technology and generating PDF reports from XML files using Java objects. The XML file can be an existing one and could contain the data about an entity (Clients for example) or it might be the result of a SELECT-SQL statement. JAXB generates JAVA classes through xs rules and a Marshalling, Unmarshalling compiler. The PDF file is build from a XML file and uses XSL-FO formatting file and a Java ResultSet object.Xml file, JAXB, Java classes, Java ResultSet object, Marshalling, Unmarshalling, XSL-FO formatting file.

    A Story of Parametric Trace Slicing, Garbage and Static Analysis

    Full text link
    This paper presents a proposal (story) of how statically detecting unreachable objects (in Java) could be used to improve a particular runtime verification approach (for Java), namely parametric trace slicing. Monitoring algorithms for parametric trace slicing depend on garbage collection to (i) cleanup data-structures storing monitored objects, ensuring they do not become unmanageably large, and (ii) anticipate the violation of (non-safety) properties that cannot be satisfied as a monitored object can no longer appear later in the trace. The proposal is that both usages can be improved by making the unreachability of monitored objects explicit in the parametric property and statically introducing additional instrumentation points generating related events. The ideas presented in this paper are still exploratory and the intention is to integrate the described techniques into the MarQ monitoring tool for quantified event automata.Comment: In Proceedings PrePost 2017, arXiv:1708.0688

    Comparison of Properties and Performance of Object Oriented Databases

    Get PDF
    V této práci čtenáře seznámím se základními modely, jenž se používají pro ukládání dat v databázových systémech. Dále čtenáři popíši způsoby ukládání objektů jazyka Java, kde mu nadále vysvětlím pojmy jako objektově relační mapování, reflexe a introspekce. Následně zde představím existující implementace, které se v jazyce Java používají pro ukládání ob- jektových dat. Poté popíši metodiku pro testování výkonu jednotlivých řešení. Podle této metodiky provedu testování a nakonec zhodnotím získané výsledky.In this thesis, the reader learns basic models, which are use for storing data in database sys- tems. Next I describe a way, how to store objects in Java Language and explain expressions like object-relational mapping, reflection and introspection. After that, I will introdice some of existing implementation, which are use for storing objects in Java. Next I will explain testing methodology and make benchmarks of various implementation. In the end I will analyze a results of these benchmarks.

    Effect of Regional Tax, Population, and GRDP on Original Local Government Revenue (PAD) in the Regency/City of Central Java Province

    Get PDF
    This study aims to analyze the effect of taxes, population, and GRDP on local revenue (PAD) in Central Java Province in 2013-2019. The data panel with the fixed effect method was run to analyze the data using the help of the EViews v.11 program. Objects are 35 regencies/cities in Central Java Province. The dependent variable is Regional Original Income (PAD); while district/city taxes in Central Java Province, total population, and GRDP are independent variables. The results of this study indicate that taxes and GRDP have a positive and significant effect on PAD, while population has a positive but not significant effect on PAD in Central Java Province

    METODA INTERAKCJI POMIĘDZY OBIEKTAMI WEBVIEW W HYBRYDOWYCH APLIKACJACH JAVA

    Get PDF
    The article deals with method of interaction between JavaScript objects of different web pages in hybrid java applications. To solve this problem, the WebView component is used, its functionality to provide an interface for JavaScript objects, as well as the SharedPreferences global settings class, with its ability to store data in local storage. The software implementation is considered and the results of the practical use of the developed method of interaction between JavaScript WebView objects in the form of a hybrid Java application embedded in the electronic university system – the Timetable SNU electronic timetable module are presented.Artykuł dotyczy sposobu interakcji między obiektami JavaScript różnych stron internetowych w hybrydowych aplikacjach Java. Do rozwiązania tego problemu wykorzystywany jest komponent WebView, którego funkcjonalność zapewnia interfejs dla obiektów JavaScript, a także klasa ustawień globalnych SharedPreferences z możliwością przechowywania danych w lokalnym magazynie. Rozważono implementację oprogramowania oraz przedstawiono wyniki praktycznego wykorzystania opracowanej metody interakcji między obiektami JavaScript WebView w postaci hybrydowej aplikacji Java osadzonej w elektronicznym systemie uczelni – module elektronicznego planu lekcji Timetable SNU
    corecore