Tagged Questions
8
votes
3answers
5k views
Generic file parser design in Java using the Strategy pattern
I am working on a product in which the responsibility of one of the modules is to parse XML files and dump the required content in a database. Even though the present requirement is only to parse XML ...
6
votes
2answers
2k views
What's the difference between a marshaller and a serializer?
...and unmarshalling/deserializing? Wikipedia's explanation leaves me none-the-wiser! I'm a Java programmer, in case the terminology is used differently in different languages.
5
votes
1answer
454 views
Copyright notice in CSS or XML files
I'm currently working on an open-source project. Currently, we put our copyright notice at the top of every Java source file.
I was wondering whether it was advisable or common practice to put ...
4
votes
1answer
125 views
Writing map of data to XML according to a format which is user-defined
I need to write a map of string data to an XML document. The XML document has a specific format. An entry key determines where in the XML document the value will be written to. See below for an ...
3
votes
1answer
353 views
Are XML Schemas bad for constantly evolving file formats?
I'm struggling with a client-server project where I have Java apps out on the Internet that store data to a backend server. The format of this data is well-defined, but the project is constantly ...
2
votes
2answers
1k views
Using XSLT for messaging instead of marshalling/unmarshalling Java message objects
So far I have been using either handmade or generated (e.g. JAXB) Java objects as 'carriers' for messages in message processing software such as protocol converters. This often leads to tedious ...
2
votes
3answers
644 views
What methodology to use for planning/developing a Language conversion project?
I am trying to help my friend by creating a part of his on-going project.
What I'm going to do is create a Java parser to break up the Java code into operators, parameters etc to build XML ...
2
votes
1answer
863 views
Best Practice - XML To Excel
I've to read a big XML file with a lot of information. Afterwards I extract the needed information (~20 Points(columns) / ~80 relevant Data (rows, some of them with subdatasets) and write them out in ...
2
votes
2answers
1k views
Java Xml intraction in Android
I'm working on Android application development. There is a question that always comes to my mind that: How XML interacts with Java code?. I mean Button inside XML is a view, but Button inside Java is ...
2
votes
1answer
507 views
Java Application for handling records(CRUD)
I am new to JavaEE and am faced with a tight situation here.
I have to develop a Java application for (CRUD) handling records and saving and loading an XML concerning that record. Obviously, I won't ...
1
vote
1answer
478 views
Optimize strategies for xml parsing?
I am looking for general optimization tips and guidelines for xml parsing.
One of the optimization strategies is of course selecting the "right" parser. A detailed comparison between the available ...
1
vote
1answer
88 views
How to migrate an XML serialization framework in Java in a tightly coupled system?
I work for a company that uses XML for storing a bunch of serialized Java classes. The framework we use is Apache Betwixt (abandonded in 2008) and it's kind of pain to maintain and extend (it seemed ...
0
votes
1answer
521 views
Accessing a Web Service: Learning Resource needed [closed]
I have been searching for resources to learn (Java) Web Services. Although I have found a lot of resources and tutorials on JWS, I am confused with the version numbers, the abbreviations and Metro. ...
0
votes
1answer
63 views
Database Password problem when using GIT to manage project that uses Spring to initiate Datasource
Program Situation
I use Spring Framework to code my Web Service, using Dependency injection to inject a DataSource bean into the DAO bean that will be used by the Web Service.
I have all the ...
0
votes
2answers
288 views
Starting android Development [closed]
I am considering learning android development. I have some basic knowledge in C++. I downloaded the ADT plugin and eclipse. Now while starting from http://developers.android.com I see the codes were ...
0
votes
2answers
175 views
Persistent Storage format for (update+read)-intensive data
I am developing a Java application. While using the application, data would be generated that needs to be stored on disk. I am looking for an embedded database appropriate for a average use-case of ...
0
votes
2answers
474 views
Common test cases for XML schema validator
I just wrote my first SAX-based (Java) XML schema validator, where you pass it a schema URL (pointing to the .xsd file), and an XML instance, and it determines whether or not that instance is valid or ...
0
votes
0answers
61 views
Appropriate design / technologies to handle dynamic string formatting?
recently I was tasked with implementing a way of adding support for versioning of hardware packet specifications to one of our libraries. First a bit of information about the project.
We have a ...
0
votes
0answers
164 views
Problem combining SlidingMenu and ExpandableListView
As said i'm trying to combine SlidingMenu (https://github.com/jfeinstein10/SlidingMenu) with an ExpandableListView, but i'm having an issue that i don't know how to fix, so i'm hoping some one here ...