Would i need to use Java to do what i'm wanting to do?...
what would i need to make a prog that...
connects to my sites database?
like i wanna make a prog that stays on my desktop and that it connects to my database so when someone regs i can activate them without going on the internet. Soo... what type of programming would i need to use? Java?
No, there are a number of languages which could do that. Java, C++, Perl all spring to mind (and I might even make a go at it in bash if I felt like a laugh). Bear in mind the dictum about running before walking - it sounds like your level of programming experience is such that you'd need to spend a while learning the basics of whichever language you choose before you can write this particular utility.
Similar Messages
-
II need to use Java 6 to run a web application because it isnt compatible with java 7 update 7. is this possible?
MadMAC0 posted at https://discussions.apple.com/message/20107182?ac_cid=tw123456#20107182 that:
Apple has posted (10/22/12) the approved solution for restoring the Java 6 plug-in:
Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality. -
I have an ipad also wifi at home. Would is needed to use my wifi connection while not at home?
You can't use your wi-fi connection when not at home. Heck, my wi-fi connection bales out halfway down the back garden. Many places offer wifi hot-spots. Go google. The only (relatively) surefire way to be able to get on the internet anywhere is to have a 3G capable iPad and corresonding data plan.
-
How does one know if they use "java applets"? What do they do? How will I know if I need to 'disable the java web plug-in browser' if I do not use them? (Obviously I'm not very literate in computer-speak.)
Well, when you go to a web page a section of the web page will have a coffee cup picture where the java applet will run. The applet loads then runs. If you are not seeing this behavior then you are not using java. If it make you feel more comfortable then disable the browser java plugin. On my machine I have not disable java- but you
may what to. -
I have an iPhone 4s. My problem is that I can't see the icon of FaceTime and iMessage. I need to use these apps. What should I do?
Red21Gerard wrote:
I have an iPhone 4s. My problem is that I can't see the icon of FaceTime and iMessage. I need to use these apps. What should I do?
FaceTime:
Check Settings>FaceTime>ON and check Settings>General>Restrictions>FaceTime>ON. There is no icon, on the 4 & 4S FaceTime is accessed through contacts. Go into your Contacts, access the contact you want to FaceTime with and you will see a tab at the bottom of their contact card. You can also access FaceTime by going into your Phone app, select dialling keypad, dial number, press call and an option for FaceTime on the keypad will appear. It should be noted that FaceTime has been removed from iPhones sold in some Middle Eastern countries at the express wish of the respective Governments.
iMessage:
Check Settings>Messages>iMessage>ON. The icon is the same as your SMS icon. This support document will explain how to use iMessage http://support.apple.com/kb/HT3529 -
I have a macbook pro OS leopard 10.5.8. I've synced it with an iPad 2. I cannot access the cloud because my OS is insufficient. Problem is most of my most- used applications would not work with a too-high system upgrade. I can't afford to upgrade all my apps. I need to know: what would be the least-high system upgrade I can install in order to access the cloud on my new iPad 2?
MAC O.S. 10.5.8 - LEOPARD
MacBookPro
MacBookPro4,1
Intel Core 2 Duo - 2.5 GHz; speed 800 MHz
Quark Express 7.3
Adobe Acrobat 8 Pro
Adobe Photoshop CS 3
Adobe Illustrator CS 3
Adobe InDesign CS 3
Microsoft Office 2008
Extensis Suitcase Fusion 12.1.7
Stuffit 12
Thanx
calico6Define "access the cloud". I can access my iCloud.com account on my 5 year old iMac at work running OS X 10.4.11 Tiger. I can download and upload Word documents and Pages documents in the iWorks section of my iCloud.com account.
What do you want to access in "the cloud"?
Snow Leopard would be your next system upgrade and you should be OK with the CS3 applications, and Office 2008. I cannot confirm that the other applications will work.
This is quite old, but take a look or Google the other applications to see if they are compatible with SL.
http://www.macintouch.com/specialreports/snowleopard/slcompat.html -
First Timer Need Help using Java Web Start
The following Error Message was thrown when I tried to launch an app
using Java Web Start...
An error occurred while launching/running the application.
Title: Swing Application - Hello World
Vendor: Ramanujam
Category: Download Error
Bad MIME type returned from server when accessing resource: http:\\localhost:8000\test/SimpleExample.jnlp - text/html
My JNLP file
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for SimpleExample Application -->
<jnlp codebase="http:\\localhost:8000\test" href="SimpleExample.jnlp">
<information>
<title>Swing Application - Hello World</title>
<vendor>Ramanujam</vendor>
<description>Test JWS</description>
<description kind="short">Test JWS</description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.4"/>
<jar href="test.jar"/>
</resources>
<application-desc main-class="JWSTest"/>
</jnlp>
The exception thrown :
NLPException[category: Download Error : Exception: null : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
Also, How to configure MIME mapping for .jnlp files on J2EE server (I do not have another server) and if there is a need, how do i deploy the jar and the jnlp file on J2EE server?
Kindly help.....Hi,
I have the same problem, but I do have configured the webserver (Apache 2) correctly and the server is NOT returning a 404 error.
To check this I used the a tcp monitor (Apache Axis).
The error message in Java Webstart is identical to the one discribed above.
In the tcp monitor I see the following :
HTTP/1.1 200 OK
Date: Tue, 19 Nov 2002 15:16:57 GMT
Server: Apache/2.0.43 (Win32)
Last-Modified: Tue, 19 Nov 2002 15:13:58 GMT
ETag: "44eb-300-bebdba39"
Accept-Ranges: bytes
Content-Length: 768
Keep-Alive: timeout=15, max=97
Connection: Keep-Alive
Content-Type: application/x-java-jnlp-file
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://ns003:88/ns" href="jviews.jnlp">
<information>
<title>JViews TWD Demo Applicatie</title>
<vendor>Cap Gemini Ernst & Young</vendor>
<homepage href="default.html"/>
</information>
<resources>
<j2se version="1.3"/>
<jar href="jviewsapplet.jar"/>
</resources>
<application-desc main-class="JViewsClient"/>
</jnlp>
Any idea?
Cheers, Joost -
Image resize : loss of quality by using Java API. What's wrong ?
We actually have a problem with the resizing of pictures.
We use jdk 1.4.2.
We are trying to transform some picture from approx. 2000*1600 to 500*400.
The result is poor (loss of colors, blur ...)
We use an affineTransform and some renderingHints.
There is actually no effect when we change the renderingHints parameters. Why ?
Here's the code we use:
import java.awt.geom.AffineTransform;
import java.awt.image.*;
import java.io.*;
import javax.imageio.ImageIO;
import java.awt.*;
import javax.swing.*;
public class Jpeg
public Jpeg()
// i = la largeur de l'image redimensionner
// s = le chemin d'acces � l'image original
// s1 = le chemin d'acces � l'image retaill�e
public boolean resize(int i, String s, String s1)
try
File file = new File(s);
File file1 = new File(s1);
//Parametrage de la lecture
ImageIO.setUseCache (true);
BufferedImage src = ImageIO.read(file);
double d = src.getWidth();
double d1 = src.getHeight();
double d2 = i;
double d3 = d2 / d;
if(d1 * d3 > d2)
d3 = d2 / d1;
if(d3 > 0.8D)
d3 = 1.0D;
int j = (int)(d * d3);
int k = (int)(d1 * d3);
AffineTransform tx = new AffineTransform ();
tx.scale (d3, d3);
RenderingHints rh = new RenderingHints (RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
rh.put (RenderingHints.KEY_ALPHA_INTERPOLATION, RenderingHints.VALUE_ALPHA_INTERPOLATION_QUALITY);
rh.put (RenderingHints.KEY_COLOR_RENDERING, RenderingHints.VALUE_COLOR_RENDER_QUALITY);
rh.put (RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BICUBIC);
rh.put (RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY);
rh.put (RenderingHints.KEY_STROKE_CONTROL, RenderingHints.VALUE_STROKE_PURE);
rh.put (RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
AffineTransformOp op = new AffineTransformOp (tx, rh);
BufferedImage biNew = new BufferedImage (j, k, src.getType ());
op.filter(src, biNew);
ImageIO.write (biNew, "jpg", new File (s1));
catch (Exception e)
e.printStackTrace ();
return false;
return true;
public static void main(String args[])
Jpeg jpeg = new Jpeg();
jpeg.resize (Integer.parseInt (args [0]), args[1], args[2]);
}Here's the original picture http://193.252.12.20/bugimage/14457.jpg
Here's the resized picture http://193.252.12.20/bugimage/bur.jpg
Here's the paintshop pro resized picture http://193.252.12.20/bugimage/psp.jpg
Is there another way to resize pictures ?
Can we have a better result by using jdk 1.5.0 ?
Thanks for your help.Nothing wrong - it's a feature :).
"Loss of colours" is connected with Java embedded JPEG decoder. If you transcode to for example PNG format using any image processing program and then resize using Java then colors will be OK.
"Blur..." is connected with bad implementation of interpolation algorithms in JDK/JRE and can't be fixed :)
I'm close to finish developing own resizing library which produced the next results from your image (it's a very good image to test). "from_png" means that the source image is PNG.
<b>Box interpolation</b> (also known as nearest neighbour, but it's the honest implementation, not JDK fake):
http://www.chainline.com/Box.jpg
http://www.chainline.com/Box_from_png.jpg
Well-known <b>Lanczos 3</b>:
http://www.chainline.com/Lanczos_3.jpg
http://www.chainline.com/Lanczos_3_from_png.jpg
Not-well-known <b>Ideal 5S</b> but one of the most qualified:
http://www.chainline.com/Ideal_5S.jpg
http://www.chainline.com/Ideal_5S_from_png.jpg
And 2 interesting s.c. "sharp" filters which make the result sharpen:
<b>Sharp Light 5</b>:
http://www.chainline.com/Sharp_Light_5.jpg
http://www.chainline.com/Sharp_Light_5_from_png.jpg
<b>Sharp 5</b>:
http://www.chainline.com/Sharp_5.jpg
http://www.chainline.com/Sharp_5_from_png.jpg -
Why would I need to use LiveCycle Data Services in a Flex app?
I cannot figure out what additional functionality is provided by using LiveCycle Data Services in my Flex apps. I cannot get a clear understanding of how using LiveCycle Data Services would benefit my applications. Does someone out there use LiveCycle Data Services? If so, what do you do with it in Flex?
Thanks!- data push for publish/subscribe implementations
User has to do nothing to get updated information. You push it to their machine when new data is available, like Yahoo finance updated quotes.
- data paging
You don't want to display one million rows in your datagrid at once. Get a batch of data, if the user scrolls down, get the next batch, etc.
- server side clustering
One server does not get overloaded. High traffic sites have their large number of concurrent connections managed more efficiently.
- JMS services
JMS is a powerful technology for messaging throughout an application, and LCDS makes it much easier.
- RTMP tunneling
Allows the use of the RTMP protocol in LiveCycle Data Services applications. Makes it easier to traverse firewalls and proxies appropriately that currently prevent direct RTMP client connections to the server.
If this post answered your question or helped, please mark it as such. -
I have just downloaded and installed Java 2 SDK but I don't know how to use the feature to write Java or compile it yet, can someone help me. Thanks
Hello sannguyen,
There are many Java online tutorials. I suggest that you start with 'New-to-Java Programming Center' at the following address:
http://developer.java.sun.com/developer/onlineTraining/new2java/
-Merwyn,
Developer Technical Support,
http://www.sun.com/developers/support. -
Hi, what formula would I need to use to show current age?
I'm not a big numbers user and have very little concept of how to use it.
What I need is a formula to calculate an age in years and months based on a date of birth in a previous column.
Many thanks in advance for your help.
KateKate,
You can use the DATEDIF() function which will return the difference between two dates (selectable what the return units are as "Years", "Months", "Days", etc). Then compute the age in years and months.
I suggest a method where you compute the age in months, then translate that to years and remaining months as follows:
cell B2 = DATEDIF(A2, NOW(), "M")
cell C2=INT(B2/12)& "Y "& MOD(B2, 12)&"M"
select cell B2 and C2, then fill down.
the formula in Cs is broken down as follows...
- the "&" operator concatenates the things on the left and right (that is it connects them into a single thing
- the INT() function computes the integer value of the division which will be the whole number of years
- the MOD() function is modulo and returns the remainder os B2/12
I hope this helps -
I have downloaded Java 6 update 37, but Firefox does not recognize it as a valid plug-in, and so will not even give me the option of enabling it. Is there any workaround for this?
Firefox is a 32 bit application, so make sure that you've installed the 32 bit Java program and that Firefox can find its plugins.
-
I need to use windows on my mac, but i want to keep lion -- any ideas?
I know it sounds silly, but i bought my Air thinking I could use it for anything, but one of the main systems I need to interact with only supports Windows. I don't want to lose my Mac OS, but I don't want to have to buy a different computer for this other system. I have heard of a program that allows you to switch between OSs, but I don't know if I can get it for the Air. Oh, by the way, I'm still a noob at the whole Mac thing . . .
Actually you can use BootCamp to install Windows 7. On my MBA (11" 128GB), I'm using a program called Parallels. There is another program called Fusion which I've never used, but understand it's almost as good or as good as Parallels.
To start this operation with Parallels/Windows, first install Parallels (if you're not going the free Bootcamp route). More on that later. Unless you use a DVD drive on another computer, it will be necessary to have an external DVD drive. You can pick up a no-name on eBay for around $25. That's what I did. You can also buy the Apple External Superdrive that's made to use with the MBA.
After you install Parallels, it will prompt you to insert a Windows installation disk. When you're finished with installing Windows, assuming you have a brand new MBA with only Lion installed, you should still have around 100GB free on the 128GB SSD. Things will definitely be on the tight side if you only have the 64GB SSD version.
I installed the 32 bit version of Windows 7 on my computer because I have a few programs that don't like the 64bit Windows7.
I'm very happy with the way my MBA runs wth the above configuration. Re my earlier mention of BootCamp, yes, that will work for you also and you won't have to buy a copy of Parallels7 (which I think is by far the best version of Parallels.) If you do go the BootCamp route, you will have to partition your 128GB HD into a OS X side and a Windows side where as if you go the Parallels route, Parallels will only take whatever space is needed which willl maximize your HD for both OS systems. -
i would like to use my verizon iphone for sprint because i am switching over but i dont know how
Ask Sprint if they can use a Verizon phone. We are just users, and cannot commit the carriers to anything.
-
How to use Java with PL/SQL commands to send an email with attachment
Apologizes in advance if this is the wrong place to ask the question.
I need to use Java with PL/SQL commands to send an email with attachment. My java application runs from the command line and does some magic to gather info from an Oracle 11g db. If the DB has sendmail configured, I'd like to send the results of the data gathering as an attachment to the email addresses. I'm not sure how to do this. I've been reading up on on PL/SQL can send email with UTL_SMTP - with attachments. I'm just not sure how to translate that into being triggered by my Java application. Any suggestions or pointers on what I should read would be appreciated.
Background - I've been programming in Java for 10+ years, but this is my first time using databases. I also have been on these forums for a long time, but lost my profile when it was switched to Oracle.
Thanks for all help.user13726880 wrote:
The original requirements were put together and given to me, an Oracle newbie. They expected the Java app to use something intrinsic to Oracle and Unix sendmail. To solve my problem, I use a JDBC connection to run some SQL commands. I take that data, format it and send the results by email to the user. By default the requirement is to send it as an HTML attachment using Unix 'sendmail'. So I do that using Runtime exec. I have also added JavaMail functionality as an alternative to sendmail. It works great and as expected.Sounds like a reasonable solution.
Note however that PL/SQL itself can send email. And PL/SQL can call unix sendmail too.
However myself I would have done it in java with JavaMail.
Maybe you are looking for
-
Satellite A505-S6004 - Unknown device on Windows Server 2008 R2 64bit
I was try to install Windows Server 2008 R2 64 bit on a A505-S6004 (originally Windows 7 Home Premium) on a new disk. Having downloaded and installed numerous Toshiba website drivers for Windows 7 and installing, I have two things left in device mana
-
Can't see iPhoto pics that are edited in PS and saved back to iPhoto
Photos that are edited in Photoshop and saved back into iPhoto don't show up in the iPhoto window. Only the originals show up. When I do a search, I see that they are saved in a "modified" folder inside iPhoto. How can I see them in the iPhoto window
-
HP Pavilion tx2500z - Default Function Keys not working
I have a HP Pavilion tx2500z (model: KD436AV) laptop with Windows 7 64 bit OS installed. Since last few months, I am not able to use default function keys (F1, F2...F12) and other keys at the top row of the keyboard, including Pg Up, Pg Down, Home, E
-
SCCM 2012 R2 PS and SS HW requirements
Hello to all, I'm involved in a SCCM 2007 --> 2012 R2 migration and managers are asking if some secondaries servers could work if they use 4 Gb RAM because they say that they do not have buget to buy/upgrade new HW. I know that MS suggested min. r
-
Market requires versionCode to be set to a positive 32-bit integer in AndroidManifest.xml
I have built an application on flash builder Buritto using the tutorial of " Christophe Coenraets" building an EmployeeDirectory and everything worked fine while debugging it in virtual environment but when I try to upload it to the andoid market