Which UUID/GUID generator to use with JBoss
I want to generate unique Ids as a key for multiple physically separated databases.
I use JBoss and I wonder which implemetation/library is the way to go. I know
java.util.UUID would be simple and probably fine. I'd just like to know if this is the way to go in JBoss.
Any hints ?
I'm working with Jboss EAP 6.2 with RestEasy library (resteasy-jaxrs 2.2.1.GA) in Linux enviroment The body of each client service's response does not use the UTF-8 encoding. The following a client's
Currently Learning Web project in Java. I have a doubt related to it. Actually I have a task that, access method of Dynamic projects using JBOSS Server through web services. Initially I didn't get wha
I'm looking for static site generator which accepts Markdown documents as input source code. I used Markdoc, but it looks abandoned. And it doesn't copy static file in source document folder. So I'm i
I have a container managed datasource(myDataSource) configured in a Jboss 7 server. The datasource appears to be deployed correctly (I checked it from the admin console). I built and deployed the Sp
What should I consider when choosing which identity generator to use with NHibernate? E.g. a simple fluent mapping: Id(c => c.ID).GeneratedBy.HiLo(User); Map(c => c.Username).Not.Nullable().Le
I'm looking for free to use phonetic/pronounceable password generator written in Java (or any JVM language, which can be called from Java). Ideally the generator would accept criteria for the passwor
I started to build an app using the webapp generator which has been great thanks to the ease of use of grunt coupled with the live reloading of the server. However, I'm at the point that I need to sta
I'm using JBoss AS7 + JSF 2.1 I'm trying to use a Database login module to authenticate users on a specific resource in my web application. In standalone.xml there are 3 security domains: other, jb
I want to use the script-name in the generator to create the corresponding java file. For example if my script file would be WordCount.script I want to create a WordCount.java file. I found out th
I implemented a (simple) python generator. Now, I want to make another one (from it), which will iterate through all values, but last one. def gen(x): # Generate the interval [x, 10] if x <= 10: yi
I have an app that is deployed on Tomcat but I need to use JTA because I am connecting to multiple data sources. I don't want to use JBoss AS but would like to use the JBoss transaction manager. I cur
How can I pass request object to doJoin method which is configured in generator.yml? generator.yml: generator: param: config: list: table_method: doJoin ItemTable.class.php: public static function do
I want to write a generator function that will run on a memory limited system that uses PyMySql (or MySQLDb) to return the results of a select query one at a time. The following works: #execute a sele
I'm running a Java web application on a JBoss 7 server with a MySQL 5.1 datastore. I use JDBC to communicate with my database. There is a particular method which is rather database query intensive. It
I'd like to parse a big XML file on the fly. I'd like to use a python generator to perform this. I've tried iterparse of xml.etree.cElementTree (which is really nice) but still not a generator.
We are trying using HornetQ for messaging on Jboss AS 7.1 and the documentation at https://docs.jboss.org/author/display/AS71/Messaging+configuration says There is also a pooled-connection-factory w
I am running a Java application in JBoss which periodically undertakes a memory-intensive task. The amount of memory used by org.jboss.Main rises during this time, but does not fall once the task is c
I need to reduce the size of JAR file in my project which is 9.17MB,I have already reduced it to 6.31MB by removing all the logger statements and dead code.I also have checked each JAR file individual
I have a Perlin noise generator which I am attempting to use to create scrolling terrain. I've got a center terrain, eight terrains of the same side surrounding it (these are working fine) and a secon
I need to configure the JMS in JBoss 5. I'm looking for the jars to do so. Does anyone knows what Jars are needed to compile this lines of code? h.put(java.naming.factory.initial, org.jnp.interfac
I have an android app which is available on google play. While creating an apk for release, there was a keystore that was created for signing. My question is, if after the release, I have some enhance
I'd like to compile a project which contains a java source generator and then compile the generated code within a single project. I.e: compile Generator.scala, run Generator.generate(outputDir), compi
I need to write a Message Driven Bean. I'm using JBoss IDE 1.5. I understand the concept behind MDB's but I don't really know how to install the JMS provider (JBoss MQ? I think) and use it so that it
I have the requirements to write a cross platform (win/linux) desktop applications. What database would I use that is similar to sqlite? (minimal to no setup required)
Is it possible, to use Apache Tomahawk on the JSF RI which ships which JBoss EAP 6.2? I have an EAR-Deployment (skinny WARs) with an included webapp as WAR. I declared a Dependency in the Manifest of
I have been given this permutation generator that I have shown below. I have initialized it like this: PermutationGenerator perm = new PermutationGenerator(4);. I am trying to use the next() function
I am developing a soap based middle-tier web service on jboss platform and would like to know, what engine or framework is the most matured or common for Enterprise level ? So far i was considering:
I cannot find a proper way to add a directory to my app context on jboss 6. I'll use this mapping for static content. Can someone give me a hand on that?
Similar to Generating n statements from context-free grammars, I want to randomly generate sentences from a grammar. What is a good parser generator for manipulating the actual grammar productions th
In JBoss 5.1.0, there is a file called <INSTANCE>/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml which includes some settings for applying an offset to the port numbers. This is use
We are using JBoss Enterprise Application Platform server ie. JBOSS EAP 6.1 for our new web applications that use Logback for logging. We are using JBoss EAP for some months now and everything works o
We use composite components inside other components in our project. Everything works just fine on JBoss 7.1.0, but on JBoss 7.1.1 we get errors like this: No handlers found for exception javax.faces.v
how can i find which folder is the jboss root dir? where can i find the root folder variable mentioned in a war file
Google has a uniform documentation of all its apis. I wonder what documentation generator does it use and is it available for public use. It has good TOC and other features. Also the code appears neat
I just found that org.jboss.resteasy.client.ClientRequest is deprecated, invalidating everything I could find on Google about how to use the RESTEasy client. The Javadoc gives no indication as to what
I've tried for days to use jboss-as-maven-plugin to deploy web projects to remote JBoss AS7, but it didn't work. Here is my pom.xml: <!-- JBoss Application Server --> <plugin> <groupI
If I have a true random number generator (TRNG) which can give me either a 0 or a 1 each time I call it, then it is trivial to then generate any number in a range with a length equal to a power of 2.
I'm trying to come up with a random number generator which returns a float value between 0 and 1 weights the returned value in either one direction or the other. Is there any reliable way to do this b
Which version of JBoss AS supports Java EE 6 (specifically JSF2.0)?
I am using GWT Generators and want to modify a css file with a Generator. The css file contains constants like the following (test/client/App.css): @def LINE_WIDTH 100px; I defined an interface (tes
I'm writing my own scripting language and I need a software tool which generates C++ code for parsing my language. I need a lexical analyzer and a parser generator which generates C++ code. It would b
we have a solaris sparc 64 bit running the jboss. it has 24G mem. but because of JVM limitation, i can only set to JAVA_OPTS=-server -Xms256m -Xmx3600m -XX:MaxPermSize=3600m. i don't know the exactl
I've been trying to create a tileset generator (blending two images together) but I'm stuck at what kind of method I need to be able to make one texture/image overlap onto the main one, or somehow fad
What is the best pdf generator that I can use for both html and pdf?
I have one application which listen to 1099 port. I also have another application which refer to same port(1099). I have deploy this two application in single JBoss. When i run JBoss(Using jboss-6.1.0
Hi I've got some problem at running jboss. Here is a log of deployment: 15:24:25,275 ERROR [[/Web]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.Sea
I read this tutorial http://docs.jboss.org/jbossweb/7.0.x/ssl-howto.html and i already have JBoss Server with SSL. I want to use current cert. (what i generate by keytool -genkey -alias tomcat -k
I am making a Helper with razor generator to build a cutom control in which there will be two radio buttons (yes/no) I want to use Html.BeginForm for this. But can't do it. Do you know how to do it or
I'm experimenting with Netbeans and JBoss and I'd like to print stuff on JBoss console from my code. Can I use log4j for that?