[Design of Messaging on JBoss (Messaging/JBoss)] - User focused examples on docs?
by clebert.suconic@jboss.com
I don't know.. maybe what I'm writing here could be a complete bull shit, but I've just got the impression it would be better if we used some Exemplified domain in our examples.
Like, in the hibernate docs (which we talked today as they have a great doc).. they used a very simple user known language.. such as Person, Animal... etc: Instead of Pojo, OneToManyRelationedPojo, XRefPojo..., TableA, TableB, PojoA, PojoB and etc.
http://www.hibernate.org/hib_docs/v3/reference/en-US/html/tutorial-associ...
I was thinking more like, instead of calling Topic, Topic1... Topic2... subscriber-1, QueueA, MessageProducer...
if we called it:
Topics like:
- Invoice
- POIupdates
Producers like:
- DealerOrder...
And Queues like:
- CreditAnalysis
or.. whatever we think it may make sense. But having a pre-defined domain that we would use in both the docs and examples.
I know what we have on JBM 1.4 are great for smart users, and what we started is already nice.
It would be great if we could speak a language that Messaging/JMS Newbies will understand better. We would have a better chance of bringing them to the Messaging World.
Like.. they would look at the examples and not only see how to use publish-subscriber, but some examples on where to use it...
We wouldn't need to make our examples & docs any more complex for this. (of course we could if we wanted).
I just wanted to throw out the idea and see what you guys think.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222454#4222454
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222454
15 years, 9 months
[Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBM 2 Server does not shutdown cleanly
by jmesnil
"timfox" wrote : Try starting up the server without the jboss messaging service to see if it's related to just the jndi server.
the JNDI server is indeed the guilty part:
| public static void main(String[] args) throws Exception
| {
|
| System.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
| System.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces, value");
|
| NamingBeanImpl namingInfo = new NamingBeanImpl();
| namingInfo.start();
| org.jnp.server.Main jndiServer = new org.jnp.server.Main();
| jndiServer.setNamingInfo(namingInfo);
| jndiServer.setPort(1099);
| jndiServer.setBindAddress("localhost");
| jndiServer.setRmiPort(1098);
| jndiServer.setRmiBindAddress("localhost");
| jndiServer.start();
|
| System.out.println("STARTED");
|
| jndiServer.stop();
| namingInfo.stop();
| }
|
I've asked about it on #jboss and I'll raise a JIRA issue if I don't have a reply.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222355#4222355
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222355
15 years, 9 months