How to get PSF Settings in an AS400 Server using Java - java

I am a newbie in this site but I know anyone here can help me on this problem that I have now. I used to program Java using JDK7 and now I am facing this JTOpen API for AS400-Java interface but my problem now is how to get all the PSF Setting of my Device Description of a certain Writer?
Thanks in advance guys....
Please help.....

Check out the print API's at http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/print1a.htm
If you can find an API that provides the information you are looking for, it shouldn't be hard to invoke it from java.

Some of that information is available in com.ibm.as400.access.PrintObject but not all. I'd write a wrapper program/procedure over the Retrieve AFP Information (QPQRAFPI) API, and use JT400 to call that. The equivalent CL command is WRKPSFCFG.

Related

Gobblin - how to get post from Facebook

I have been investigating Gobblin for awhile and currently I am experiencing difficulties in using Gobblin to get post from Facebook. I could not find any connection example on the internet or I may have searched it wrongly.
I am looking at integrate restfb to Gobblin, however in Gobblin, there is a RestAPI class with connector, source and extractor and I am struggling to find a way to combine these together. Could you please help me with a simple guide on how to implement this or point me to the correct instruction? Thank you very much in advance.
I am working on the same thing, I have extracted my data using the graph-facebook api using a java code. I recently started using gobblin for extracting data. In the beginning i ran gobblin on the debug mode to get an idea as to how the flow was, I think you should definitely try doing that. Now I get my data as a json object and use convertors, Builders, Writers available to get data on to HDFS.
If you want some pointers as to how to run gobblin on debug mode you can comment below, I'll be happy to help.

TWSz Java API current plan status

Is it possible to get Current Plan status using Java API? I try to call many methods from ZConnPlan but without success. Maybe is another way?
This information is currently not available via Java APIs for TWSz.
I suggest to open an RFE to TWSz for it.
If you can provide more details about the scenario you are trying to implement, I can try to find a workaround.

How to create client application to access uddi using java?

I've successfully set up an Apache Juddi v3 on my computer ans know I want to create a client that can publish and discover webservices using java. I have searched in google but i could not find a clear explanation of how to do that as am new in webservice and uddi.
any help please!!!
You want to start with the jUDDI examples. There's a bunch of them.
http://svn.apache.org/repos/asf/juddi/trunk/juddi-examples/
http://svn.apache.org/repos/asf/juddi/trunk/juddi-examples/more-uddi-samples/src/main/java/org/apache/juddi/samples/
Note: you didn't specify what version you're using, so some of that code may not compile against what you're using. Most solutions should be obvious. If not, try getting checking out the full source (the readme has directions)

Service similar to Airbrake.io for java applications?

We made our own api for airbrake.io in java. This works fine but airbrake is displaying parameters and stacktraces in some kind of Rails style. This is somewhat annoying. Anyone know of similar services made for java?
Example of how data is displayed:
Parameters
{"controller"=>"", "action"=>""}
Stacktrace
/testapp/app/models/user.rb:53:in `public'
/testapp/app/controllers/users_controller.rb:14:in `index'
UPDATE 2015-02-13: This service no longer exists. The GitHub account linked below is gone, as is the company website.
Have you tried using Coalmine https://github.com/coalmine/coalmine_java Its meant to be used with the Coalmine service: https://getcoalmine.com/
I work at Coalmine and we have been using this internally for some time now. We just open sourced the java connector this week and I would be happy to help you get started with it. You can send me an email at brad#builtfromsource.com
Have you tried using http://code.google.com/p/hoptoad/ . It's a little out of date, but it should just need to update an endpoint to http://api.airbrake.io .
A quick google lead me to http://logdigger.com/ which is designed specific for JAVA specific sites.
I work at Airbrake, and I would be happy to work with you to make our site more JAVA friendly. Please get in touch ben#airbrake.io, and I'll see how we can better display java specific information.
Just adding to the others suggested here, but Raygun (http://raygun.io) has first class support for Java.
Read more here: http://raygun.io/java
I work for Mindscape who built Raygun so can answer any questions you may have about it: jd#mindscape.co.nz. We already have a large number of organizations using Raygun with their Java apps, although Raygun does support other platforms (.NET, Node, Rails, PHP, etc)

Creating a Ticket in remedy Using Java Code

I need to create a ticket in BMC Remedy using a Java Code. Can anyone share the java api(get the api's jar file) and some samples to create a ticket using that api in java.
I am unable to understand the answers in the
Create ticket in BMC Remedy via Java
I would suggest looking at the example posted on this page somewhere near the bottom is a working example to create an Incident Ticket using Remedy 7.5. Unfortunately, you must get the api from your Remedy installation, they cannot be given out.
https://communities.bmc.com/communities/message/108563
I have found freely available java doc available on these sites:
7.5: http://www.javasystemsolutions.com/documentation/thirdparty/arapiv75/
7.0: http://www.javasystemsolutions.com/documentation/thirdparty/arapi/
Links to BMC Remedy Java API documentation may be found on this page.
You can apparently access other technical documentation via this page ... but you need to register an account. (Thanks, but no thanks BMC!)

Categories