JAX-WS with JAXB tutorial [closed] - wsdl

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I'm getting started in developing web services using JAX-WS. I'm trying to implement classes I can send between my service and client using JAXB, but having trouble getting it to work.
I've tried following the example at this site but cannot seem to get it to work. After following the instructions, the test page that's displayed doesn't have any way of defining the Die objects as is suggested by the article.
All of this is very new to me, so I'm really not sure where to go. I've checked the WSDL file linked from the test page, and my best guess is that the JAXB is not working properly as I don't see the Die class or its properties mentioned anywhere.
A good, fully worked example would be very beneficial. Does anyone know where one can be found? If it's any help, I'm working in Netbeans.
Thanks!

Here is a step by step how to for jax-ws.
http://netbeans.org/kb/docs/websvc/jax-ws.html
If you google netbeans web services you will find many examples.

Here is an excellent JAX-WS tutorial for beginners. http://java.globinch.com/enterprise-java/web-services/jax-ws/java-jax-ws-tutorial-develop-web-services-clients-consumers/
The tutorial explains how to develop web service and consumer without using a Java EE container.

Related

Ruby on Rails Events Application [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am relatively new to Ruby on Rails. I have built few sample apps but now I want to build a real world app like an events website which gives information on forthcoming events, event galleries, etc. Can some one give more ideas on this or something already built on github to learn using it.
Thanks in advance.
By the types of question you are asking, it seems to me that you are not very experience in Rails. Therefore, I recommend you to complete Michael Hartl's tutorial: http://ruby.railstutorial.org/ruby-on-rails-tutorial-book. Although it won't teach how to make galleries and such, it will teach you the fundamentals that you need for your app. For instance, in your case you will understand how to create an Event model with information in a database that you can then show. After that, you can go ahead and check out things like spud_photos( https://github.com/gregawoods/spud_photos) which is a gem that allows you to create image galleries.
Good luck

Are there any high level explanations of how Zend Framework 2 all fits together? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am currently playing around with Zend Framework 2.
Do any of you know of any high level explanations of how Zend Framework 2 all fits together?
I am not talking about a tutorial which shows you how to quickly get a website up and running using ZF2; I mean an easy to read "behind the scenes" guide which explains which code does what. This could be a simple explanation step by step of how ZF2 starts a project, loads each module, does the correct routing and then sends the correct output to the user.
I know it is possible to step through all the code using the debugger, but for beginners this is very painful without first understanding ZF2's architecture.
Does this exist?
Possibly even some sort of architecture diagram or UML?
Thank you.
I watched this:
http://www.youtube.com/watch?v=NsOrT1R6IQ0
It basically goes over the DI, ServiceManager and EventManager and explains the theory behind the use of modules. It is quite long (45 mins or so) but it did give me a good general overview.
Hope that helps a bit :)
Most of what you are looking for (not all by any means) can be found in the Zend/MVC component reference.
However it is not very concise and user friendly.

Re-Write url? Syntax? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I was working on a website for a client. I wanted to re-write a url but don't know how to go about it. I have very less time. I am looking for a tutorial, but would be quite helpful if someone could help me.
Following is the url that I receive:
www.example.com/shop/url_encoded_category_name/product?productid=
I want to re-write it to:
www.example.com/shop-public-home.php?productid=
The problem here is that "url_encoded_category_name" will be some text and will be something different every time.
I am looking for a quick tutorial, and will close the question if I found a solution.
I am highly thankful for any help you can provide.
Jehanzeb k. Malik
You will probably use apache mod_rewrite, if you use an apache http server. All apache modules have excellent documentation including good examples. You will find all details you are looking for in that documentation: http://httpd.apache.org/docs/current/mod/mod_rewrite.html
You can either setup the rewriting rules in the central server configuration (preferred way) or decentralized using so called ".htaccess" files. You can use more or less the same rules for both approaches. Check the RewriteEngine, RewriteRule, RewriteMap and RewriteCond commands.

Creating interface between a java class & a complete built project [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have a requirement where, I need to give the user only one editable java class where he can make changes in the program such as changing username, changing phone number. The moment he saves the data, the built program should be able to reproduce the changes.
I am doing this project for BlackBerry.
I want to know, is there any way in which I can link a class with external project? I am developing the project using Eclipse. I don't know how the user will make changes and save. I know it's a little weird but generally speaking, I want to link two different applications using some middle interface. Any help is greatly appreciated
I believe this is a simple case of "You think you know what you want but you really don't" :)
Please explain what it is you want to achieve between your two apps and how they interact and we will provide you with a much better solution than asking a user to modify java files.
UPDATE AFTER OP COMMENT :
You need to look at XML or JSON. These are ways to format data so that it is easy to write/produce/transfert/parse.
Parsing XML on Blackberry
Parse XML file on BlackBerry
When you build a java project you get a jar file. If you include that jar file into the classpath, all of its contents will be available to your code (with necessary import statements).

How Ruby on Rails work [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I programmed in php. And when you use some framework, then, as far as php is intepreter, all the framework loads every request. But not rails, though, ruby is interperter too... So, how does it work
Nope. Rails as the framework caches all loaded modules, class and libraries on the first several requests (it's not on the first request only since it also has lazy load for above things).
But by default under development mode, all app modules (mvc) are reloaded on each request. Libraries (plugins, gems, etc) are not reloaded.
Your question is hugely wide open and too large to really answer effectively. This is a good place: RoR Guides. If after reading that you have more specific and directed questions bring them back and we'll try our best to help you...

Resources